Description Usage Arguments Value See Also Examples
Merge towns into an ACS geo set
1 | make_regional_geo(town_list, name = "Aggregate", town_lookup, state = 9)
|
town_list |
A character vector of the names or FIPS codes of towns in the region |
name |
Name of the region. Defaults to "Aggregate" |
town_lookup |
A data.frame or tbl. Must have columns |
state |
Either a number corresponding to the state's FIPS code, or a string with the state's two-letter abbreviation or full name. Defaults to 09, FIPS code for Connecticut |
Returns a geo.set
object.
get_town_names
, which returns a dataframe of towns and countied formatted for town_lookup
1 2 3 4 | inner_ring <- c("Hamden", "East Haven", "West Haven")
ct_towns <- get_town_names(state = 9, year = 2015)
ir_geo <- make_regional_geo(inner_ring, name = "Inner Ring",
town_lookup = ct_towns, state = 9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.