tigris
2.3.0Load Census TIGER/Line Shapefiles
Overview
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.
- 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
timeoutargument 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, androads(),primary_roads(), andprimary_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()andvalidate_county()are now exported, with amultipleargument 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
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.
- NOTE10 OK, 3 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK14 OK2026-03-10
Documentation
- 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
Repository
- 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
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors, paypal.me
The repository owner accepts GitHub Sponsors
Dependencies
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.
Show all 35 packagesHide all 35 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.3.0Latest2026-10-16 · current release · diff ↗ ··
added 3 exports
population_centers, validate_county, validate_statelisted 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. - RR 4.6.0 released · 2026-04-24
- 2.2.12025-04-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 2.12024-01-24 · diff ↗
- 2.0.42023-09-22 · diff ↗
- 2.0.32023-05-19 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.0.12023-01-30 · diff ↗
- 2.02022-12-07 · diff ↗
- 1.6.12022-06-03 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.6
- 1.5.12022-02-07 · diff ↗
- 1.52021-09-23 · diff ↗
Show 25 earlier eventsHide 25 earlier events
- 1.4.12021-06-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.4
- 1.0
- RR 4.0.0 released · 2020-04-24
- 0.9.42020-04-01 · diff ↗
- 0.9.22020-02-04 · diff ↗
- 0.9.12020-01-13 · diff ↗
- 0.8.2
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.72018-04-14 · diff ↗
- 0.6.22018-01-04 · diff ↗
- 0.6.12018-01-03 · diff ↗ ·
added 4 exports
append_geoid, call_geolocator, call_geolocator_latlon, tigris_cache_dir - 0.5.32017-05-26 · diff ↗
- 0.5.12017-05-10 · diff ↗
- 0.52017-05-01 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.3.3
- 0.32016-05-18 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.2.2
- 0.22016-02-02 · diff ↗
- 0.12015-10-11
- RR 3.2.0 released · 2015-04-16
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
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("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.
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.