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

multi_geo_* level revision #31

Open
davilak opened this issue Mar 15, 2024 · 0 comments
Open

multi_geo_* level revision #31

davilak opened this issue Mar 15, 2024 · 0 comments
Assignees
Labels
feature a feature request or enhancement

Comments

@davilak
Copy link

davilak commented Mar 15, 2024

In order to avoid having misaligned levels when using multi_geo_* and multiple years including 2022, can we re-level the groups?

counties = always the original 8 counties
cogs = always cogs
regions = DataHaven regions i.e., 6WFC, NHIR, etc.

yrs <- c(2022, 2012)

df <- yrs |> purrr::map(~cwi::multi_geo_acs(year = ., table = "B01003", towns = "all", counties = "all", regions = cwi::regions)) |>
dplyr::bind_rows() |>
dplyr::select(year, level, name) |>
dplyr::filter(grepl("COG", name))

View(unique(df))

@camille-s camille-s self-assigned this Mar 18, 2024
@camille-s camille-s added the feature a feature request or enhancement label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants