Title: | State and county shapefiles in sf and tibble format |
---|---|
Description: | Provides state and county shapefiles in 'sf' and 'tibble' format that is compatible to map with 'ggplot2'. Shapefiles include Alaska and Hawaii, transformed to be displayed as insets within the continental United States. Heavily inspired by and derived in part from the fiftystater package <https://cran.r-project.org/package=fiftystater> by William Murphy. |
Authors: | Sarah Strochak [aut, cre], Kyle Ueyama [aut], Aaron Williams [aut], Urban Institute [cph], William Murphy [ctb, cph] (Original author for copied and derived code for fiftystater), Barry Rowlingson [ctb] (Original author for copied and derived code for fiftystater) |
Maintainer: | Sarah Strochak <[email protected]> |
License: | GPL-3 |
Version: | 0.0.0.9002 |
Built: | 2025-02-12 04:42:04 UTC |
Source: | https://github.com/UrbanInstitute/urbnmapr |
Child Care and Development Fund labels data
ccdf_labels
ccdf_labels
Data frame with columns
Longitude and latitude
State name and state abbreviation
County shapefile data, cleaned and parsed into a tibble for easy mapping. Includes various state identifiers for easy merging.
counties
counties
Data frame with columns
Longitude and latitude
County name, five-digit FIPS and FIPS class code
State name, postal abbreviation, and two-digit FIPS code
United States Census Bureau, https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html
Includes various state identifiers for easy merging.
counties_labels
counties_labels
Data frame with columns
Longitude and latitude
County name, five-digit FIPS and FIPS class code
State name, postal abbreviation, and two-digit FIPS code
County-level data to use for example maps. Includes county FIPS code to match with county shapefile data.
countydata
countydata
Data frame with columns
Year of data
Five-digit FIPS code
Household population
Homeownership rate
Median household income
Urban Institute Sloan ADRF Database, https://adrf.urban.org
get_urbn_labels()
loads labels and coordinates for maps from the get_urbn_map()
functions.
Note: there are currently only sf
options for states
and territories_states
, as
these are the only options that have custom labels. To label counties
and territories_counties
,
use geom_sf_text()
or geom_sf_label()
.
get_urbn_labels(map = "states", sf = FALSE)
get_urbn_labels(map = "states", sf = FALSE)
map |
Selection of custom labels. Current options are |
sf |
Option indicates whether data is loaded as a |
get_urbn_map()
loads maps that are different than states
and counties
get_urbn_map(map = "states", sf = FALSE)
get_urbn_map(map = "states", sf = FALSE)
map |
Selection of custom map. Current options are |
sf |
Option indicates whether data is loaded as a |
State-level data to use for example maps. Includes state FIPS code to match with state shapefile data.
statedata
statedata
Data frame with columns
Year of data
Two-digit FIPS code and state name
Household population
Homeownership rate
Median household income
Urban Institute Sloan ADRF Database, https://adrf.urban.org
State shapefile data, cleaned and parsed into a tibble for easy mapping. Includes various state identifiers for easy merging.
states
states
Data frame with columns
Longitude and latitude
State name, postal abbreviation, and two-digit FIPS code
United States Census Bureau, https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html
States labels data
states_labels
states_labels
Data frame with columns
Longitude and latitude
State name and state abbreviation
County shapefile data with territories, cleaned and parsed into a tibble for easy mapping. Includes various state identifiers for easy merging.
territories_counties
territories_counties
Data frame with columns
Longitude and latitude
County name, five-digit FIPS and FIPS class code
State name, postal abbreviation, and two-digit FIPS code
United States Census Bureau, https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html
Territories labels data
territories_labels
territories_labels
Data frame with columns
Longitude and latitude
State name and state abbreviation