Skip to content

censusapi

0.10.0Package record

Retrieve Data from the Census APIs

2packages depend
21.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A wrapper for the U.S. Census Bureau APIs that returns data frames of Census data and metadata. Available datasets include the Decennial Census, American Community Survey, Small Area Health Insurance Estimates, Small Area Income and Poverty Estimates, Population Estimates and Projections, and more.

Changes in 0.10.0

As of May 12, 2026, the Census Bureau APIs require the use of an API key for retrieving data and metadata.

  • listCensusApis() and listCensusMetadata() now use the API key argument.
  • Documentation and error messages are updated to reflect that using an API key is now required.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.10.0
READMEYes · 417 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.10.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
8 (1 internal)
Examples that run
86%6 run in a plain check (4 of them under a condition) · 1 never run
Exported functions with examples
100%
Documented parameters
85%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

21.6K
CRAN downloads in the past year
Rank #3,147 · ~59/day · ~1.8K/mo
Daily download trend is not available in this view yet.
1.3K30 days
4K90 days
21.6K1 year
Compare downloads with other packages →
Also on432 r2u6 autocran1K conda_forge259 c2d4u

Repository

187Stars
31Forks
8Open issues
0Open PRs
6Releases
257Commits
4Commit identities
rcensus-apicensuscensus-dataopen-datarstatsdemographics
257 commits · Last activity 2026-05-20 · +0.5% stars, 30d · Discussions: 2 posts
Responsiveness
How these are sampled
PRs merged (all time)
31%
Median days to close, 50 most recently updated closed issues
18
Median days to close, 50 most recently updated closed PRs
62

Stars over time

2026-07-14 · 1842026-10-19 · 187
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/hrecht/censusapi on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (2)
Code of conductIssue templates
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-05-20

pkgdown site last built 2026-05-20

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing censusapi adds 9 packages (7 with compiled code, 3.8 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, rlang 766 KB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
2direct
6indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.2.0 (2017)
Releases (10)

Pick two releases to compare their code metrics.

  • 0.10.0Latest
    record
    2026-05-13 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.0
    record
    2025-03-05 · diff ↗ ·
    removed 1 export
    getFunction
    added 2 exports
    get_api_key, has_api_key
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.8.0
    record
    2022-08-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.7.1
    record
    2020-10-14 · diff ↗
  • 0.7.0
    record
    2020-09-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6.0
    record
    2019-04-14 · diff ↗
  • 0.4.1
    record
    2018-08-19 · diff ↗
  • 0.3.0
    record
    2018-05-02 · diff ↗
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    record
    2017-08-01 · diff ↗
  • 0.2.0
    record
    2017-06-06
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-06-06
Total releases
10 / 9 yrs
License
GPL-3 OSI · relicensed from MIT + file LICENSE in 0.3.0
Minimum R
≥ 3.5
Bundled data
0.2 KB / 1 file
Download size
25 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("censusapi")
Recht, H. (2026). censusapi: Retrieve Data from the Census APIs (Version 0.10.0) [Computer software]. https://doi.org/10.32614/CRAN.package.censusapi

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 censusapi version 0.10.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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