Commit 6dd7b1a9 authored by Bruno Duyé's avatar Bruno Duyé

Download: datasets.json - keys add and keys renaming

parent c1abe354
......@@ -127,12 +127,13 @@ def main():
if dataset_observations_json:
write_json_file(dataset_filepath, dataset_observations_json)
dataset_json.append({
'dimension_code': frequency_code,
'dimension_value_code': frequency_code,
'filename': dataset_filename,
})
datasets_json.append({
'dataset_code': dataset_code,
'dimension_label': 'FREQ',
'dimension_label': 'Frequency',
'dimension_code': 'FREQ',
'files': dataset_json,
})
# Write datasets.json
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment