Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to data/metadata following application to 15m #149

Open
6 tasks
sgreenbury opened this issue Aug 22, 2024 · 0 comments
Open
6 tasks

Updates to data/metadata following application to 15m #149

sgreenbury opened this issue Aug 22, 2024 · 0 comments

Comments

@sgreenbury
Copy link
Collaborator

sgreenbury commented Aug 22, 2024

Following the use of popgetter to a-b-street/15m#10, opening this issue to capture changes to the data/metadata that would improve usability.

  • Ensure source_metric_id for every metric is either the census table name that it is derived from or the original metric ID. Currently the values are:
    In [5]: df["metric_source_id"].value_counts()
    Out[5]:
    shape: (3, 2)
    ┌──────────────────┬────────┐
    │ metric_source_id ┆ count  │
    │ ---              ┆ ---    │
    │ str              ┆ u32    │
    ╞══════════════════╪════════╡
    │ TBD              ┆ 434536 │
    │ MS_POPULATION    ┆ 1364   │
    │ TOTAL            ┆ 1      │
    └──────────────────┴────────┘

This will enable the CLI search: popgetter metrics --source-metric-id <SOURCE_METRIC_ID>

  • Aim for the same derived metrics to have the same metric metadata (human readable name, hxltag etc) for different countries
  • Add metadata field to indicate if derived metric or not. This could also be included in the text instead but might be clearer if it has its own field enum
  • Add a measure for the resolution of the geometry level to the metadata. This could be the approximate number of individuals for the average zone of the resolution or a country-specific ranking (e.g. 1 for smallest area, 2 for the second smallest, etc)
  • Add the coordinate reference system for a geometry as metadata. This is captured in Popgetter Coordinate Reference System strategy #142.
  • Add metadata sufficient to enable Help the user generate attribution text popgetter#83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo:
Development

No branches or pull requests

1 participant