An R package to download and use US Census TIGER/Line shapefiles as simple features objects for mapping and spatial analysis.
tigris is an R package that downloads and loads TIGER/Line shapefiles from the US Census Bureau directly into R as simple features objects. It solves the problem of manually acquiring and processing geographic boundary data, streamlining the workflow for mapping and spatial analysis of US regions.
R users working with US geographic data, including data scientists, researchers, demographers, and analysts who need Census boundary files for mapping, visualization, or spatial analysis projects.
Developers choose tigris because it provides a programmatic, reproducible way to access authoritative Census geography data within R, integrates seamlessly with the sf package for modern spatial analysis, and offers extensive dataset coverage with temporal flexibility.
Download and use Census TIGER/Line shapefiles in R
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically downloads TIGER/Line shapefiles from the US Census Bureau, eliminating manual file handling and ensuring reproducible data acquisition.
Returns data as simple features objects by default, making it ready for use with modern R spatial packages like sf and ggplot2 without additional conversion.
Supports data from 1990 to 2024, allowing for historical comparisons and longitudinal spatial studies across multiple Census years.
Provides cartographic boundary files at various scales (e.g., 1:500k, 1:5m), catering to different mapping needs from detailed to overview visualizations.
Only includes geographic boundaries; users must separately obtain and join demographic data from packages like tidycensus, adding complexity to workflows.
Some datasets have missing years, such as cartographic boundaries for 2011-2012 and core based statistical areas for 2022, which can hinder consistent time-series analysis.
Exclusively for R users; projects in other languages require using the separate pygris package, fragmenting tools across language ecosystems.
Defaults to NAD 1983 (EPSG:4269), necessitating additional steps with packages like crsuggest to reproject data for specific mapping or analysis needs.