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

modify DataSet class to handle arbitrary geographic units #84

Open
ericnost opened this issue Aug 14, 2024 · 0 comments
Open

modify DataSet class to handle arbitrary geographic units #84

ericnost opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ericnost
Copy link
Member

Currently, we only allow specific geographic units: Watershed, Congressional District, etc. We use these as part of an attribute selection for the data (e.g. region_type = Congressional District, region_values=[01,02], state="IA" will return facilities / program data for facilities in CDs 01 and 02 in Iowa.)

But if we move to a more "open concept" approach to selecting the place of analysis, a la here: https://colab.research.google.com/drive/1WkopgBp7cImVyLFvLar9zAsjbkSAXG_L#scrollTo=9A_5rSlKn2bT then we'd need some way of filtering data that isn't based on attributes (since the facilities within the new boundary may not share the same ZIP code, for instance, and selecting all represented ZIP codes would probably get us more facilities than we wanted)

I think there should be a "Neighborhood" region_type that takes REGISTRY_IDs as the region_values and uses these to look up program data.

In a notebook context, you would draw the neighborhood boundary, get the ECHO_EXPORTER data within that boundary, pull out the REGISTRY_IDs, and then uses those for selecting program data.

Alternatively, the region_values could be lat/long bbox values that could then be used against the FAC_LAT and FAC_LONG fields in ECHO_EXPORTER as well as the various MVIEWs. This is probably a more straightforward approach...

@ericnost ericnost added the enhancement New feature or request label Aug 14, 2024
@ericnost ericnost changed the title modify DataSet class to handle arbitrary units modify DataSet class to handle arbitrary geographic units Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant