Skip to content

zipcodeR

0.4.1Package record

Data & Functions for Working with US ZIP Codes

0packages dependsuggested by 2
17.8Kdownloads / year
67.3%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4.1

Test-only fix for the CRAN check ERROR

  • A unit test asserted that the R < 4.0 session-temporary cache path did not contain the user's home directory. On the CRAN Debian check hosts the R session temporary directory itself is located under the checker's home directory, so the assertion failed there even though the package behaved correctly. The test now checks the actual contract: the old-R cache path is file.path(tempdir(), "zipcodeR-data") and differs from the persistent tools::R_user_dir() location used on R 4.0 or newer.
  • No package code, documentation, exported API, or bundled dataset changed. The 0.3.5 reproducibility contract and the _ng API are identical to 0.4.0.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-24
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-09-09
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.4.1
READMEYes · 420 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 0.4.1Citation fileYes · cites a publicationWebsiteYes
Help pages
38 (1 internal)includes a package overview page
Examples that run
81%13 run in a plain check · 3 never run
Exported functions with examples
47%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
0%

Downloads

17.8K
CRAN downloads in the past year
Rank #2,917 · ~49/day · ~1.5K/mo
Daily download trend is not available in this view yet.
1.8K30 days
4.8K90 days
17.8K1 year
Compare downloads with other packages →
Also on126 r2u3 autocran1.4K conda_forge

Repository

84Stars
14Forks
13Open issues
1Open PRs
9Releases
193Commits
2Commit identities
rrstats
License file reads as GPL-3.0 · 193 commits · Last activity 2026-09-11 · +1.2% stars, 30d · Discussions: 2 posts
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
10
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-27 · 802026-10-17 · 84
PracticesBeta

14 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/gavinrozzi/zipcoder on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-11 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 4 practices
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-01-04
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 30 crediting it in the message
Models named in its commits
  • Claude Fable 525 commits · Aug 2026
  • Claude Opus 53 commits · Aug to Sep 2026
  • Claude Fable 5.11 commit · Sep 2026
  • Claude Opus 4.51 commit · Jan 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing zipcodeR adds 62 packages (40 with compiled code, 54 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, sp 4.3 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2020)
Releases (10)

Pick two releases to compare their code metrics.

  • 0.4.1Latest
    record
    2026-09-18 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.0
    record
    2022-10-03 · diff ↗ ·
    added 19 exports
    download_comprehensive_data, download_zip_data_bundle, geocode_zip_ng, get_cd_ng, get_tracts_ng, is_zcta_ng, normalize_zip_ng, read_zip_data_bundle, reverse_zipcode_ng, search_cd_ng, search_city_ng, search_county_ng, search_fips_ng, search_radius_ng, search_state_ng, search_tz_ng, zip_data_provenance, zip_data_version, zip_distance_ng
  • 0.3.5
    record
    2022-10-04 · diff ↗
  • 0.3.4
    record
    2022-06-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.3
    record
    2021-09-22 · diff ↗
  • 0.3.2
    record
    2021-09-02 · diff ↗
  • 0.3.1
    record
    2021-06-10 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.0
    record
    2021-04-15 · diff ↗ ·
    added 4 exports
    geocode_zip, normalize_zip, search_radius, zip_distance
  • 0.2.0
    record
    2020-12-13 · diff ↗ ·
    added 5 exports
    get_cd, is_zcta, reverse_zipcode, search_cd, search_fips
  • 0.1.0
    record
    2020-09-17
Show 1 earlier eventHide 1 earlier event
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-17
Total releases
10 / 6 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
3.5 MB / 3 files
Download size
3.6 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("zipcodeR")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1016/j.simpa.2021.100099.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for zipcodeR version 0.4.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy