counties.Rd
Data from shapefiles provided by the Census Bureau’s MAF/TIGER geographic database at https://www.census.gov/geo/maps-data/data/cbf/cbf_state.html. County outlines are based on the 1:20m resolution level. Divisions and regions are based on TIGER/Line Shapefiles for states and equivalents in the 2016 release.
counties counties_inset
both objects are data frames consisting of variables of length ~50k:
long: geographic longitude
lat: geographic latitude
order: order of locations
hole: logical vector
piece: positive integer value, one for each separate area/island of a county
id: integer value uniquely identifying each county
group: character value - composite of id and piece, uniquely identifying each part of each county
STATEFP: FIPS state code
COUNTYFP: FIPS county code
COUNTYNS: GNIS county code
AFFGEOID: American FactFinder county code
GEOID: GEOID county code
NAME: name of county
ALAND: land area of the county in square meters
AWATER: water area of the county in square meters
STATE: name of the state
STUSPS: US state code
REGION: integer of US region
DIVISION: integer of US division
# NOT RUN { library(ggplot2) library(magrittr) counties %>% ggplot(aes(x = long, y = lat)) + geom_path(aes(group = group)) counties_inset %>% ggplot(aes(x = long, y = lat)) + geom_path(aes(group = group)) # }