Microdata project related tools
- Create a python virtual environment
- Install the packages in the requirements.txt
- Replace the content of the Microdata_real_data.csv with the real data
- Replace the content of the MIcrodata_metadata_variables.csv with the real variables
- Both Microdata_real_data.csv and MIcrodata_metadata_variables.csv should be on the same directory as that of the microdata_csv_ssb_formatting.py
- Run microdata_csv_ssb_formatting. If there are any errors, it will be displayed.
- The final output as per the SSB formatting will be in the input directory.
If you need any further help with this script, contact nara@kreftregisteret.no.