Closed nmpeterson closed 3 years ago
IDOT regions would make sense as a county attribute, I don't think that needs to be its own shapefile if it's captured like that.
A few thoughts:
counties_msa
and counties_modeling
as supplements?And if we do include larger lists of tracts/block groups/PUMAs, I would definitely advocate for including a flag for CMAP region - otherwise, I think we lose the value of those shapefiles.
@dlcomeaux yes, adding a CMAP region flag was always my intention for any dataset extending beyond the region, similar to what's already in zone_sf
and subzone_sf
. Regarding the townships, I assume you're referring to the political townships and not the PLSS townships?
@nmpeterson yes, the political townships - this came up for me on an analysis of infrastructure investment distribution. It's a less common need, but it does serve some purpose (particularly since they control some roadways).
I really liked the way you did the county vectors as differentiated objects that can be easily accessed as a whole list as well. Have you thought about whether it would be feasible to do something similar with geographies, that would allow the user to define what selection they wanted?
Seems like one option would be to include super basic helper functions that filter internal datasets, e.g. tracts("cmap")
, tracts("modeling")
, etc.
EDIT: Maybe I'm barking up entirely the wrong tree here, but theoretically, all the spatial data in the package could be internal and accessed via a function like cmap_spatial_data(dataset = "tracts", extent = "cmap7")
, with convenience wrappers like tracts(extent = "cmap7")
. This could allow the package to develop in the future into something more complex, e.g. something capable of not downloading all the data when you install the package, but caching data locally after it's called for once (I think tidycensus does something like this).
Counties (modeling area + MSA combined) and IDOT districts (with IDOT region attribute) have been added.
@dlcomeaux does this format for the IDOT data work for you?
@nmpeterson yes that works great for what I was imagining. Thanks!
Closing for now. Will reopen if there is demand for additional geographies.
Add the following geographic boundaries to the package, using scripts in
data-raw
that create .rda files indata
.cmap
flag.) -- tigrisAlso for consideration: