Skip to content

tigris

2.3.0

Load Census TIGER/Line Shapefiles

14packages dependsuggested by 21
187.3Kdownloads / year
27.9%test coverage
10/13flavors OK

Overview

About

Download TIGER/Line shapefiles from the United States Census Bureau (https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html) and load into R as 'sf' objects.

Changes in 2.3.0
  • Functions now default to a year of 2025.
  • Downloads now use {httr2}. Temporary server errors and incomplete or corrupt files are retried automatically before falling back to FTP, a file that doesn't exist on the Census Bureau's server gets a clear error right away, and cached files are only replaced once the new download reads correctly. The geocoder also retries temporary server errors. tigris now requires R 4.1 or later and imports {httr2} and {zip} in place of {httr}; the timeout argument is no longer needed.
  • A new function, population_centers(), returns Census centers of population for states, counties, Census tracts, and block groups for 2000, 2010, and 2020.
  • places() now supports 2000 and 2010, and roads(), primary_roads(), and primary_secondary_roads() support 2010. county_subdivisions() accepts multiple states.
  • County names that match more than one county (e.g. "Collin", which also matches Collingsworth County, Texas) prompt you to choose in interactive sessions and error with the choices otherwise. An exact name match always wins.
  • validate_state() and validate_county() are now exported, with a multiple argument for validating several states or counties at once. Errors, warnings, and messages use {cli} throughout.
  • Various bug fixes and performance improvements (#129, #151, #172, #178, #179, #182, #183, #184, #185, #188, #189, #192, #198, #203, #206, #213, #215, #216, #218, #219, #220).

From NEWS in the release

Install

Health

CRAN checks
3NOTE10OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  tigris/R/zzz.R (.Names: 1)
'.Names' should be changed to 'names'.
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘load_tiger_doc_template.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE10 OK, 3 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.3.0
READMEYes · 546 wordsVignettesNoNEWSYes · 33% structured · mentions 2.3.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
62 (2 internal)includes a package overview page
Examples that run
0%40 never run
Exported functions with examples
69%
Documented parameters
100%
Return-value docs
30%
Help pages citing references
0%

Downloads

187.3K
CRAN downloads in the past year
Rank #987 · ~513/day · ~15.6K/mo
Daily download trend is not available in this view yet.
16.5K30 days
40.6K90 days
187.3K1 year
Compare downloads with other packages →
Also on1.9K r2u7 autocran3.8K conda_forge418 c2d4u

Repository

365Stars
45Forks
1Open issues
0Open PRs
0Releases
469Commits
17Commit identities
469 commits · Last activity 2026-10-15 · +0.3% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
66
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-10-14 · 3432026-10-02 · 365
PracticesBeta

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

Checks run against github.com/walkerke/tigris on 2026-10-11.

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)
Funding

Funding links: GitHub Sponsors, paypal.me

The repository owner accepts GitHub Sponsors

Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing tigris adds 33 packages (24 with compiled code, 36 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, s2 2.8 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none

Datasets

People & History

People (3)
Author, Maintainer since 0.1 (2015)
Contributor · added in 2.3.0
Contributor
Releases (29)

Pick two releases to compare their code metrics.

  • 2.3.0Latest
    record
    2026-10-16 · current release · diff ↗ ·
    added 3 exports
    population_centers, validate_county, validate_state
    ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-15 17:32 UTC, so it stayed less than the time between readings.
  • R
    R 4.6.0 released · 2026-04-24
  • 2.2.1
    record
    2025-04-16 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1
    record
    2024-01-24 · diff ↗
  • 2.0.4
    record
    2023-09-22 · diff ↗
  • 2.0.3
    record
    2023-05-19 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.1
    record
    2023-01-30 · diff ↗
  • 2.0
    record
    2022-12-07 · diff ↗
  • 1.6.1
    record
    2022-06-03 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.6
    record
    2022-02-22 · diff ↗ ·
    added 1 export
    erase_water
  • 1.5.1
    record
    2022-02-07 · diff ↗
  • 1.5
    record
    2021-09-23 · diff ↗
Show 25 earlier eventsHide 25 earlier events
Across CRAN, the median accepted release of the past year spent 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2015-10-11
Total releases
29 / 11 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Bundled data
18 KB / 1 file
Download size
304 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tigris")
Walker, K., Pousson, E., & Rudis, B. (2026). tigris: Load Census TIGER/Line Shapefiles (Version 2.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.tigris

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

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