Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Add admin level to country object served by /mobility/countries #52

Open
mikefab opened this issue Jun 26, 2018 · 0 comments
Open

Add admin level to country object served by /mobility/countries #52

mikefab opened this issue Jun 26, 2018 · 0 comments
Assignees
Labels
enhancement New feature request or improvement priority:med Doesn’t need immediate attention

Comments

@mikefab
Copy link
Collaborator

mikefab commented Jun 26, 2018

Task

Add admin level to country object:

{
  "country": "col",
  "source": "acme",
  "shapefile": "santiblanko",
  "path": "/mobility/sources/acme/series/santiblanko/countries/col",
  "version": "/api/v1",
  "admin_level": 2
}

Why do this

Depending on source, mobility data can only be aggregated to a certain admin level. For instance, world pop can be aggregated to admin level 2 gadm2-8 for DRC, while other sources can be more granular.

In order to know what shape file to use, that information must come with the country object.

@thoat thoat added enhancement New feature request or improvement priority:med Doesn’t need immediate attention labels Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature request or improvement priority:med Doesn’t need immediate attention
Projects
None yet
Development

No branches or pull requests

3 participants