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

adm lookup on blob missing strata #36

Closed
zackarno opened this issue Dec 23, 2024 · 1 comment
Closed

adm lookup on blob missing strata #36

zackarno opened this issue Dec 23, 2024 · 1 comment

Comments

@zackarno
Copy link

Not all strata have both admin 1 & admin 2 levels. I don't know if this was on purpose, but i'd say they should either have both or be standardized to admin 2

library(tidyverse)
library(janitor)
library(cumulus)

df_labels <- cumulus::blob_read(
  name = "admin_lookup.parquet",
  stage = "dev",
  container = "polygon"
) |> 
  clean_names()

df_labels |> 
  filter(adm0_name == "Afghanistan") |>
  count(adm_level)
  
#>   adm_level     n
#>     <int> <int>
#> 1         2   401

relates to : #34

@hannahker
Copy link
Collaborator

Addressed with #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants