Skip to content

Geo Mapper: Return all contained/child regions #1135

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

Closed
krivard opened this issue Jul 22, 2021 · 0 comments · Fixed by #1159
Closed

Geo Mapper: Return all contained/child regions #1135

krivard opened this issue Jul 22, 2021 · 0 comments · Fixed by #1159
Assignees

Comments

@krivard
Copy link
Contributor

krivard commented Jul 22, 2021

Given a geo id (e.g. "ca" for California, a state) and an enclosed geo type (e.g. "county"), return a set of geo ids of the specified type that lie within the specified geo id (e.g. all counties within California)

We don't need to support all possible pairs. For now, we just need:

  • all states within a nation
  • all counties within a state
  • all states within an hhs region

We should not support the following pairs, because they do not nest neatly (some regions overlap more than one region of the larger geo type):

  • all msas within a state
  • all zips within a county
  • possibly others, extend this list as you find them

Related to: cmu-delphi/delphi-epidata#542

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

Successfully merging a pull request may close this issue.

2 participants