Skip to content

jennifershivers/DATIM-Metadata-Project

Repository files navigation

Process

  1. Run MER_Indicators.py - expects input file named 'MER_Indicator.csv' containing list of unique MER Indicators by uid. Results in MER_Indicator.json file
  2. Run MER_Disaggregation.py - expects input file named 'MER_Disaggregation.csv' containing list of unique MER Disaggregations by uid. Results in MER_Disaggregationr.json file
  3. Run Mechanisms.py - expects input file named 'Mechanisms partners agencies OUS Start End.csv' containing list of unique Mechanisms by uid. Results in Mechanisms.json file

Changes Made File: csv_to_json_flex

  1. Changed From print ('SKIPPING: '), csv_resource_def['definition_name'] TO print 'SKIPPING: ', csv_resource_def['definition_name']
  2. Added argument and line for output JSON file

FILE: MER_Indicator etc...

  1. process_by_row() function - remove 30 argument
  2. init - added output_filename argument

About

Tickets and metadata import scripts for the DATIM metadata project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors