zipcodeR: Data & Functions for Working with US ZIP Codes

Make working with ZIP codes in R painless with an integrated dataset of U.S. ZIP codes and functions for working with them. Search ZIP codes by multiple geographies, including state, county, city & across time zones. Also included are functions for relating ZIP codes to Census data, geocoding & distance calculations. New analyses can select an immutable modern data bundle through the next-generation API, while the historical interface remains compatible with version 0.3.5 for reproducible research.

Version: 0.4.0
Depends: R (≥ 3.5.0)
Imports: rlang, stringr, raster, tidycensus, tidyr, dplyr, jsonlite, httr, curl, RSQLite, DBI
Suggests: openssl, knitr, rmarkdown, markdown, readr, testthat (≥ 3.0.0), covr, tibble
Published: 2026-09-07
DOI: 10.32614/CRAN.package.zipcodeR
Author: Gavin Rozzi ORCID iD [aut, cre]
Maintainer: Gavin Rozzi <gr at gavinrozzi.com>
BugReports: https://github.com/gavinrozzi/zipcodeR/issues/
License: GPL-3
URL: https://github.com/gavinrozzi/zipcodeR/, https://www.gavinrozzi.com/project/zipcoder/
NeedsCompilation: no
Citation: zipcodeR citation info
Materials: README, NEWS
CRAN checks: zipcodeR results

Documentation:

Reference manual: zipcodeR.html , zipcodeR.pdf
Vignettes: Legacy and next-generation data (source, R code)
Frequently Asked Questions (source, R code)
Geographic functions in zipcodeR (source, R code)
Introduction to zipcodeR (source, R code)

Downloads:

Package source: zipcodeR_0.4.0.tar.gz
Windows binaries: r-devel: zipcodeR_0.3.5.zip, r-release: zipcodeR_0.3.5.zip, r-oldrel: zipcodeR_0.3.5.zip
macOS binaries: r-release (arm64): zipcodeR_0.3.5.tgz, r-oldrel (arm64): zipcodeR_0.3.5.tgz, r-release (x86_64): zipcodeR_0.4.0.tgz, r-oldrel (x86_64): zipcodeR_0.4.0.tgz
Old sources: zipcodeR archive

Reverse dependencies:

Reverse suggests: geospatialsuite

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zipcodeR to link to this page.