WIP: #45 - WTO: Write datasets in JSON repo for "annually" category
All threads resolved!
All threads resolved!
Compare changes
- Bruno Duyé authored
Merge remote-tracking branch 'origin/add-skip_series_duplicates_checking-option-to-validate_dataset' into dev
+ 185
− 107
@@ -37,13 +38,13 @@ import logging
@@ -54,13 +55,22 @@ log = logging.getLogger(__name__)
@@ -74,8 +84,17 @@ CATEGORIES = [
@@ -83,7 +102,12 @@ CATEGORIES = [
@@ -91,35 +115,40 @@ CATEGORIES = [
@@ -184,7 +213,7 @@ def main():
@@ -213,7 +242,7 @@ def create_directories_subtree(category_or_dataset, parent_category_path):
@@ -233,7 +262,7 @@ def create_directories_subtree(category_or_dataset, parent_category_path):
@@ -252,7 +281,7 @@ def create_dataset_and_series(dataset, parent_category_path):
@@ -270,72 +299,95 @@ def create_dataset_and_series_from_csv(dataset, dataset_path):
@@ -343,16 +395,34 @@ def create_dataset_and_series_from_csv(dataset, dataset_path):
@@ -380,9 +450,11 @@ def create_dataset_and_series_from_xls(dataset, dataset_path):
@@ -392,7 +464,7 @@ def create_dataset_and_series_from_xls(dataset, dataset_path):
@@ -416,26 +488,27 @@ def create_dataset_and_series_from_xls(dataset, dataset_path):
@@ -447,13 +520,14 @@ def create_dataset_and_series_from_xls(dataset, dataset_path):
@@ -461,9 +535,9 @@ def create_dataset_and_series_from_xls(dataset, dataset_path):
@@ -473,14 +547,14 @@ def create_dataset_and_series_from_xls(dataset, dataset_path):
@@ -502,5 +576,9 @@ def write_json_file(file_path, data):