/Microdata

Microdata project related scripts

Primary LanguagePython

Microdata

Microdata project related tools

  1. Create a python virtual environment
  2. Install the packages in the requirements.txt
  3. Replace the content of the Microdata_real_data.csv with the real data
  4. Replace the content of the MIcrodata_metadata_variables.csv with the real variables
  5. 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
  6. Run microdata_csv_ssb_formatting. If there are any errors, it will be displayed.
  7. 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.