geanders / noaastormevents

explore noaa storm database
14 stars 1 forks source link

Figure out if "Zones" can map to counties in this data #11

Closed geanders closed 7 years ago

geanders commented 8 years ago

I think there's more on this question here:

http://www.nws.noaa.gov/geodata/catalog/wsom/html/cntyzone.htm

geanders commented 8 years ago

This is concerning the value in the CZ_TYPE column of the original data. Right now, I'm just subsetting down to only observations where CZ_TYPE is "C" (for county) (I do this in adjust_storm_data), but if we can determine county (or counties) from forecast zone for other observations, it would be very good I think to be able to use those observations as well.

zailchen commented 8 years ago

Since one zone number can correspond to several county fips (it is not a one to one relationship), therefore, instead of mapping "Zones" into counties, I joined map_data with "county.regions" from package "choroplethrMaps" by states&county names.