Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/eurostat/health_determinants/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
"memory": 64,
"disk": 100
},
"cron_schedule": "0 3 2 * *"
"cron_schedule": "0 3 2 * *",
"validation_config_file": "validation_config.json"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"geo"
"country/AUT"
"country/BEL"
"country/BGR"
"country/CYP"
"country/CZE"
"country/DEU"
"country/DNK"
"country/ESP"
"country/EST"
"country/FIN"
"country/FRA"
"country/GBR"
"country/GRC"
"country/HRV"
"country/HUN"
"country/IRL"
"country/ISL"
"country/ITA"
"country/LTU"
"country/LUX"
"country/LVA"
"country/MLT"
"country/NLD"
"country/NOR"
"country/POL"
"country/PRT"
"country/ROU"
"country/SRB"
"country/SVK"
"country/SVN"
"country/SWE"
"country/TUR"

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions scripts/eurostat/health_determinants/validation_config.json
Comment thread
niveditasing marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"schema_version": "1.0",
"rules": [
{
"rule_id": "check_deleted_records_percent",
"description": "Checks that the percentage of deleted points is within the threshold.",
"validator": "DELETED_RECORDS_PERCENT",
Comment thread
niveditasing marked this conversation as resolved.
"params": {
"threshold": 0.1
}
},
{
"rule_id": "check_goldens_summary_report",
"validator": "GOLDENS_CHECK",
"params": {
"golden_files": "../../../../golden_data/golden_summary_report.csv"
}
},
{
"rule_id": "Check_goldens_output_csv_state",
"description": "Verifies the generated output CSV data matches established critical golden records",
"validator": "GOLDENS_CHECK",
"params": {
"golden_files": "../../../../golden_data/golden_observations.csv",
"input_files": "../../../../output/eurostat_population_tobaccoconsumption.csv"
}
}
]
}

217 changes: 217 additions & 0 deletions scripts/un/energy/golden_data/golden_observations.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
"Country_dcid"
"country/ARG"
"country/AUS"
"country/AUT"
"country/BEL"
"country/BMU"
"country/BOL"
"country/BRA"
"country/BGR"
"country/CAN"
"country/CHN"
"country/COL"
"country/CRI"
"country/HRV"
"country/CUB"
"country/CYP"
"country/CZE"
"country/DNK"
"country/ECU"
"country/EST"
"country/ETH"
"country/FIN"
"country/DEU"
"country/GRC"
"country/HTI"
"country/HUN"
"country/ISL"
"country/IND"
"country/IRL"
"country/JAM"
"country/JPN"
"country/KAZ"
"country/KEN"
"country/LVA"
"country/LTU"
"country/LUX"
"country/MWI"
"country/NLD"
"country/NZL"
"country/TWN"
"country/PRY"
"country/PER"
"country/PHL"
"country/POL"
"country/PRT"
"country/ROU"
"country/SVK"
"country/SVN"
"country/ESP"
"country/SWE"
"country/THA"
"country/TUR"
"country/UKR"
"country/GBR"
"country/USA"
"country/URY"
"country/VNM"
"country/ZWE"
"country/AFG"
"country/DZA"
"country/BIH"
"country/BRN"
"country/KHM"
"country/CHL"
"country/MAC"
"country/GNQ"
"country/IRN"
"country/KOR"
"country/MEX"
"country/OMN"
"country/RUS"
"country/SAU"
"country/SRB"
"country/UZB"
"country/ALB"
"country/ARM"
"country/SWZ"
"country/GEO"
"country/GUY"
"country/PRK"
"country/XKS"
"country/KGZ"
"country/LAO"
"country/NCL"
"country/MKD"
"country/PAK"
"country/MDA"
"country/SGP"
"country/ZAF"
"country/TJK"
"country/ARE"
"country/ATG"
"country/BHS"
"country/BLZ"
"country/BWA"
"country/CMR"
"country/CAF"
"country/TCD"
"country/COM"
"country/CUW"
"country/DJI"
"country/DOM"
"country/SLV"
"country/FJI"
"country/PYF"
"country/GAB"
"country/GHA"
"country/GRL"
"country/GRD"
"country/GTM"
"country/GIN"
"country/HND"
"country/IDN"
"country/JEY"
"country/JOR"
"country/KIR"
"country/LSO"
"country/LBR"
"country/LBY"
"country/MDG"
"country/MDV"
"country/MLI"
"country/MLT"
"country/MRT"
"country/FSM"
"country/MMR"
"country/NAM"
"country/NIC"
"country/MNP"
"country/PLW"
"country/PAN"
"country/STP"
"country/SYC"
"country/SLB"
"country/LKA"
"country/TLS"
"country/TON"
"country/TZA"
"country/VUT"
"country/ZMB"
"country/BGD"
"country/ERI"
"country/NPL"
"country/NER"
"country/TUN"
"country/UGA"
"country/MYS"
"country/EGY"
"country/SYR"
"country/BLR"
"country/BFA"
"country/FRO"
"country/ISR"
"country/LBN"
"country/LIE"
"country/MUS"
"country/PNG"
"country/PRI"
"country/WSM"
"country/AGO"
"country/BRB"
"country/BDI"
"country/COD"
"country/MAR"
"country/MOZ"
"country/NGA"
"country/RWA"
"country/SEN"
"country/SLE"
"country/SOM"
"country/SDN"
"country/VEN"
"country/AZE"
"country/BHR"
"country/BEN"
"country/BTN"
"country/CPV"
"country/CYM"
"country/HKG"
"country/COG"
"country/CIV"
"country/IRQ"
"country/KWT"
"country/MNE"
"country/SSD"
"country/VCT"
"country/PSE"
"country/SUR"
"country/YEM"
"country/AND"
"country/AIA"
"country/ABW"
"country/BES"
"country/VGB"
"country/COK"
"country/DMA"
"country/GMB"
"country/GIB"
"country/GUM"
"country/GNB"
"country/MNG"
"country/QAT"
"country/SXM"
"country/KNA"
"country/LCA"
"country/TGO"
"country/TTO"
"country/TKM"
"country/TCA"
"country/VIR"
"country/ASM"
"country/GGY"
"country/MHL"
"country/GUF"
"country/GLP"
"country/IMN"
"country/MTQ"
Loading
Loading