Description Usage Arguments Value Examples
Returns county polygons from: Siczewicz, Peter. U.S. Historical Counties (Generalized .001 deg) on the basis of year of interest Dataset is subset on basis of area of interest
1 | subset_county_polygons(year, area.column, areas)
|
year |
int, the year of interest to be mapped (defines historical basis for counties) |
area.column |
chr, defines which column to use to specify area |
areas |
chr, vector of codes indicating HUCs, counties, states, regions, aquifers, etc. |
hc.sub dataframe, a subset of county polygon data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | areas <- "Delaware" # 3 counties present day
area.column <- "STATE_TERR"
year <- 2010
hc.sub <- subset_county_polygons(year, area.column, areas)
hc.sub$NAME
areas <- "Maine" # 16 counties present day
area.column <- "STATE_TERR"
year <- 2010
hc.sub <- subset_county_polygons(year, area.column, areas)
hc.sub$NAME
year <- 1850 # Maine had 13 counties in 1850; Delaware 3
hc.sub <- subset_county_polygons(year, area.column, areas)
hc.sub$NAME
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.