From 3e55721ba540e589ae9c29c1843a24e374758e93 Mon Sep 17 00:00:00 2001 From: semio Date: Tue, 11 Feb 2020 01:07:03 +0800 Subject: [PATCH] fix unicef region file --- datapackage.json | 32 ++++++++++++++++++++++++++- ddf--entities--geo--unicef_region.csv | 16 +++++++------- 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/datapackage.json b/datapackage.json index 20661f0..06e368a 100644 --- a/datapackage.json +++ b/datapackage.json @@ -8,7 +8,7 @@ "description": "", "author": "", "license": "", - "created": "2020-02-06T13:40:47.663468+00:00", + "created": "2020-02-10T17:06:45.666858+00:00", "translations": [], "version": "0.0.1", "resources": [ @@ -244,6 +244,9 @@ }, { "name": "name" + }, + { + "name": "is--unicef_region" } ], "primaryKey": "unicef_region" @@ -714,6 +717,24 @@ "ddf--entities--geo--main_religion_2008" ] }, + { + "primaryKey": [ + "geo" + ], + "value": "is--unicef_region", + "resources": [ + "ddf--entities--geo--unicef_region" + ] + }, + { + "primaryKey": [ + "unicef_region" + ], + "value": "is--unicef_region", + "resources": [ + "ddf--entities--geo--unicef_region" + ] + }, { "primaryKey": [ "geo" @@ -1023,6 +1044,15 @@ "ddf--entities--tag" ] }, + { + "primaryKey": [ + "unicef_region" + ], + "value": "name", + "resources": [ + "ddf--entities--geo--unicef_region" + ] + }, { "primaryKey": [ "world_4region" diff --git a/ddf--entities--geo--unicef_region.csv b/ddf--entities--geo--unicef_region.csv index c39d470..0bee632 100644 --- a/ddf--entities--geo--unicef_region.csv +++ b/ddf--entities--geo--unicef_region.csv @@ -1,8 +1,8 @@ -unicef_region,name -sa,South Asia -eca,Europe and Central Asia -mena,Middle East and North Africa -ssa,Sub-Saharan Africa -lac,Latin America and Caribbean -eap,East Asia and Pacific -na,North America +unicef_region,name,is--unicef_region +sa,South Asia,TRUE +eca,Europe and Central Asia,TRUE +mena,Middle East and North Africa,TRUE +ssa,Sub-Saharan Africa,TRUE +lac,Latin America and Caribbean,TRUE +eap,East Asia and Pacific,TRUE +na,North America,TRUE