Closed miroli closed 5 years ago
Interesting question ... some hints but nothing conclusive ....
Gapminder keeps a "core ontology": https://github.com/open-numbers/ddf--open_numbers https://github.com/open-numbers/ddf--gapminder--geo_entity_domain
I think the "recipes" are meant to simplify merging in attributest etc: https://ddf-utils.readthedocs.io/en/latest/recipe.html#recipe-execution
At the same time, in the ETL examples, it seems Gapminder does this mostly manually: https://github.com/open-numbers/ddf--ihme--lex/blob/master/etl/scripts/etl.py
Here's a more concrete example of mapping to core geo entities using a recipe:
Maybe we could try something like this after establishing a sample core ontology?
Currently, all
ddf--entities--<x>
files just list all the unique values of that entity, which is the minimum requirement for the datapackage to validate. What is the easiest way to add additional data for the entities, for instance names of countries side by side with ISO 3 code?