1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-09 14:46:00 +02:00

Add check for countries without matching regions

If we have country "Kenya" we should have region "Eastern Africa"
according to the UN M.49 geolocation scheme.
This commit is contained in:
2021-12-08 15:02:20 +02:00
parent ad33195ba3
commit ccc2a73456
3 changed files with 76 additions and 0 deletions

View File

@ -197,6 +197,9 @@ def run(argv):
# Check: title in citation
check.title_in_citation(df_transposed[column])
# Check: countries match regions
check.countries_match_regions(df_transposed[column])
if args.experimental_checks:
experimental.correct_language(df_transposed[column])