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
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"observationAbout"
"wikidataId/Q1177"
"wikidataId/Q22424"
"wikidataId/Q1499"
"wikidataId/Q1174"
"wikidataId/Q1353"
Comment thread
Ashwani725 marked this conversation as resolved.
"wikidataId/Q1437"
"wikidataId/Q1498"
"wikidataId/Q1165"
"wikidataId/Q1164"
"wikidataId/Q1356"
"wikidataId/Q1184"
"wikidataId/Q22048"
"wikidataId/Q1168"
"wikidataId/Q1188"
"wikidataId/Q1061"
"wikidataId/Q1191"
"wikidataId/Q1159"
"wikidataId/Q1185"
"wikidataId/Q1186"
"wikidataId/Q1445"
"wikidataId/Q677037"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"MeasurementMethods","Units","ScalingFactors","NumPlaces","StatVar","observationPeriods","MinDate"
"[]","[Year]","[]","21","LifeExpectancy_Person_Male","[P4Y]","1997"
"[]","[Year]","[]","21","LifeExpectancy_Person_Female","[P4Y]","1997"
"[]","[Year]","[]","21","LifeExpectancy_Person","[P4Y]","1997"
3 changes: 2 additions & 1 deletion statvar_imports/india_ndap/ndap/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"source_files": [
"input_files/India_LifeExpectancy_input.csv"
],
"cron_schedule": "00 11 1,15 * *"
"cron_schedule": "00 11 1,15 * *",
"validation_config_file": "validation_config.json"
Comment thread
Ashwani725 marked this conversation as resolved.
}
]
}
29 changes: 29 additions & 0 deletions statvar_imports/india_ndap/ndap/validation_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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",
"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",
Comment thread
Ashwani725 marked this conversation as resolved.
Outdated
"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/India_LifeExpectancy.csv"
}
}
]
}