Package: usmap 1.0.0.9000

usmap: US Maps Including Alaska and Hawaii

Obtain United States map data frames of varying region types (e.g. county, state). The map data frames include Alaska and Hawaii conveniently placed to the bottom left, as they appear in most maps of the US. Convenience functions for plotting choropleths, visualizing spatial data, and working with FIPS codes are also provided.

Authors:Paolo Di Lorenzo [aut, cph, cre]

usmap_1.0.0.9000.tar.gz
usmap_1.0.0.9000.zip(r-4.7)usmap_1.0.0.9000.zip(r-4.6)usmap_1.0.0.9000.zip(r-4.5)
usmap_1.0.0.9000.tgz(r-4.6-any)usmap_1.0.0.9000.tgz(r-4.5-any)
usmap_1.0.0.9000.tar.gz(r-4.7-any)usmap_1.0.0.9000.tar.gz(r-4.6-any)
usmap_1.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
usmap/json (API)

# Install 'usmap' in R:
install.packages('usmap', repos = c('https://pdil.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pdil/usmap/issues

Datasets:
  • citypop - Most populous city in each state
  • countypop - Population estimates (2022), county level
  • countypov - Poverty percentage estimates (2021), county level
  • earthquakes - Earthquakes
  • statepop - Population estimates (2022), state level
  • statepov - Poverty percentage estimates (2021), state level
  • usrivers - US Major Rivers

On CRAN:

Conda:

countiesdatafipsgeodatamappingstatesusa

11.27 score 82 stars 1 packages 2.9k scripts 4.2k downloads 7 mentions 21 exports 14 dependencies

Last updated from:e236150b68. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK165
source / vignettesOK271
linux-release-x86_64OK150
macos-release-arm64OK133
macos-oldrel-arm64OK229
windows-develOK93
windows-releaseOK111
windows-oldrelOK115
wasm-releaseOK131

Exports:.east_north_central.east_south_central.mid_atlantic.midwest_region.mountain.new_england.north_central_region.northeast_region.pacific.south_atlantic.south_region.west_north_central.west_region.west_south_centralfipsfips_infomap_with_dataplot_usmapus_mapusmap_crsusmap_transform

Dependencies:classclassIntDBIe1071KernSmoothMASSproxyRcpprlangs2sfunitsusmapdatawk

Introduction
Plotting | Blank US state map | Blank US county map | Raw map data | FIPS codes | State/County FIPS lookup | FIPS reverse lookup | Further reading

Last update: 2025-08-29
Started: 2024-01-19

Mapping the US
Extending plot_usmap with ggplot2 | Plot only certain states | Add some data to the map | Change fill color scale | Show data in certain states | Required Data Format | FIPS column with default values column | FIPS column with custom values column | States | Counties | Built-in Regions | Supported US Census Regions and Divisions | Raw map data

Last update: 2025-08-29
Started: 2024-01-19

Advanced Mapping
Labels | ggplot2 aesthetic mapping parameters | Transform data frames to match usmap projection | Projection | Example: earthquakes | Example: most populous city in each state | Example: major rivers in the United States

Last update: 2025-08-29
Started: 2024-01-19