HopkinsIDD / cholera-mapping-pipeline

Formerly part of cholera-taxonomy. The map creation scripts, packages, and file structure
1 stars 3 forks source link

Update shapefile_utils.R #570

Closed QLLZ closed 7 months ago

QLLZ commented 7 months ago

To fix the issue that sf_cases object is different in different runs; when generating valid shapefiles from cases object pulled from taxonomy database, group by both location period id and location name since there are some location period id linked to more than one location name. In this case, all the observations with different location names linked to the same location period id will be able to be kept.