Learn R Programming

⚠️There's a newer version (0.7.1) of this package.Take me there.

Copy Link

Version

Install

install.packages('usmap')

Monthly Downloads

5,021

Version

0.5.2

License

GPL-3 | file LICENSE

Maintainer

Paolo Di Lorenzo

Last Published

March 21st, 2024

Functions in usmap (0.5.2)

.east_north_central

East North Central census division
citypop

Most populous city in each state (2010)
countypov

Poverty percentage estimates (2014), county level
.mid_atlantic

Mid-Atlantic census division
countypop

Population estimates (2015), county level
.east_south_central

East South Central census division
col_classes

Map data column classes
.mountain

Mountain census division
.south_region

South census region
.midwest_region

Midwest census region
.new_england

New England census division
.pacific

Pacific census division
.north_central_region

North-Central census region
usmap_crs

usmap coordinate reference system
usmap

usmap: US maps including Alaska and Hawaii
usmap_transform

Convert coordinate date frame to usmap projection
theme_map

This creates a nice map theme for use in plot_usmap. It is borrowed from the ggthemes package located at this repository: https://github.com/jrnold/ggthemes
fips_info

Retrieve states or counties using FIPS codes
.northeast_region

Northeast census region
.west_north_central

West North Central census division
earthquakes

Earthquakes (2019)
fips

Retrieve FIPS code for either a US state or county
get_fips_info

Gets FIPS info for either states or counties depending on input. Helper function for S3 method fips_info.
.west_region

West census region
plot_usmap

Conveniently plot basic US map
map_with_data

Join county or state level data to US map data
.west_south_central

West South Central census division
statepop

Population estimates (2015), state level
statepov

Poverty percentage estimates (2014), state level
us_map

Retrieve US map data
.south_atlantic

South Atlantic census division