-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Context
Currently, we compile dictionaries which are mostly intended for international use. The only ones which are country/territory level are one of the early versions, the #2, which we did apply any additional data export beyond basic HXL (and, anyway, they are based on outdated version, mostly intended for testing the way to organize over 100 countries).
Potential approaches (need more testing)
One potential approach could be we, for every sub level after the entrypoint [1603], we reserve a number (likely based on UN m49) to always be reserved for dictionaries related to administration of the upper level.
However, if we take this approach, we need to think about what to do if a region of an upper administrative region decides to publish dictionaries. Even if we (at least not at global level) publish such dictionaries, we may want to at least reserve a second namespace intended to to require two intermediate codes (the first one being the UN m49 entrypoint, and the second one being UN P49, but without country prefix). So every country would require at least two numbers always reserved at second 1603 level.
Use case
Notes:
- always is possible for users use another base prefix than [1603], such as if want do a hardfork or need to republish a local version and do manual review.
- in special dictionaries which are related to administrative boundaries would have a very strong link between the ones released by OCHA and the local ones.
- Potential TODO: since the regional ones are likely to have much more information linked, we could make inferences from the global one, at least related to place coding.
Brazil
Let's use Brazil as use case. One potential approach (which
Under this logic
- [1603:25] Medicina (Global scope by default)
- [1603:25:49:76] (prefix for UN m49 concept "Brazil", but the area still expected to be /Medicina/@lat-Latn
- [1603:44] Forēnsis scientiae (Global scope by default)
- [1603:25:16:76:31] (prefix for UN m49 concept "Brazil", UN P Code sublevel "Minas Gerais", but the area still expected to be /Forēnsis scientiae/@lat-Latn
Edit
- Brazil UN m49 -> 076