seattleflu / seattle-geojson

A collection of Seattle maps based on different administrative divisions
2 stars 5 forks source link

Define SFS year 2 spatial domain from swab-and-send zips #7

Closed famulare closed 4 years ago

famulare commented 4 years ago

SFS Year 2 has a hybrid spatial domain--recruitment and messaging focused in Seattle but accepting enrollees through retrospectives and swab-and-send from outside city limits. For downstream analysis, we wanted to define a "canonical" spatial domain as neighborhood_district_name within seattle and puma outside seattle. This requires building a shape set with the right names, some choices about mapping zipcode onto neighborhood/puma, and defining a master lookup list for all data.

famulare commented 4 years ago

@trvrb @tsibley I added a set of geojsons that form the "canonical" shape set for the SFS Year 2. https://github.com/seattleflu/seattle-geojson/tree/master/sfs_domain_geojsons Lat-long points are included, and I wiggled a few to be more population-weighted for pumas at the edge of the domain to make more reasonable auspice centroids. Take a look and let me know if you have any comments.

tsibley commented 4 years ago

@famulare Thanks. Are you using the regional_name of each geometry as the primary key in your models?

famulare commented 4 years ago

Yes! Probably should’ve said that explicitly somewhere.

trvrb commented 4 years ago

@famulare @tsibley --- Thanks for this. https://github.com/seattleflu/seattle-geojson/blob/master/sfs_domain_geojsons/sfs_domain_neighborhood%2Bpuma.geojson looks great. I do have one question: what's the best way to lookup the "SFS domain" (neighborhood or puma) associated with a particular census tract?

It looks like it will take a while to get this natively exported as shipping view from ID3C and so I would plan to just make a mapping table as part of https://github.com/seattleflu/augur-build. @famulare, I would assume you're already doing this as part of incidence-mapper?

famulare commented 4 years ago

The lookup table is embedded in this tract level geojson: https://github.com/seattleflu/seattle-geojson/blob/master/sfs_domain_geojsons/2016_wa_censusTracts%2Bsfs_domain.geojson.

The intended reference columns are GEOID (tract) and PUMA (which should be the 7 digit version per earlier discussions but is currently 5 #11), and regional_name. regional_name is inherited from the Seattle Neighborhood District names or the PUMA name, but a few of the boundary regions are smaller than the PUMA and so the names could arguably be edited.