Package: tigris 2.1.1

tigris: Load Census TIGER/Line Shapefiles

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.

Authors:Kyle Walker [aut, cre], Bob Rudis [ctb]

tigris_2.1.1.tar.gz
tigris_2.1.1.zip(r-4.5)tigris_2.1.1.zip(r-4.4)tigris_2.1.1.zip(r-4.3)
tigris_2.1.1.tgz(r-4.4-any)tigris_2.1.1.tgz(r-4.3-any)
tigris_2.1.1.tar.gz(r-4.5-noble)tigris_2.1.1.tar.gz(r-4.4-noble)
tigris_2.1.1.tgz(r-4.4-emscripten)tigris_2.1.1.tgz(r-4.3-emscripten)
tigris.pdf |tigris.html
tigris/json (API)
NEWS

# Install 'tigris' in R:
install.packages('tigris', repos = c('https://walkerke.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/walkerke/tigris/issues

Datasets:
  • fips_codes - Dataset with FIPS codes for US states and counties

On CRAN:

55 exports 322 stars 6.86 score 39 dependencies 16 dependents 6 mentions 4.1k scripts 6.8k downloads

Last updated 6 months agofrom:2f10909c6e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 27 2024
R-4.5-winOKAug 27 2024
R-4.5-linuxOKAug 27 2024
R-4.4-winOKAug 27 2024
R-4.4-macOKAug 27 2024
R-4.3-winOKAug 27 2024
R-4.3-macOKAug 27 2024

Exports:%>%address_rangesalaska_native_regional_corporationsappend_geoidarea_waterblock_groupsblockscall_geolocatorcall_geolocator_latloncoastlinecombined_statistical_areascongressional_districtscore_based_statistical_areascountiescounty_subdivisionsdivisionserase_waterfilter_placefilter_stategeo_joingrep_placegrep_stateis_tigrislandmarkslinear_waterlist_countieslist_placeslist_stateslookup_codemetro_divisionsmilitarynationnative_areasnew_englandplacesprimary_roadsprimary_secondary_roadspumasrailsrbind_tigrisregionsroadsschool_districtsshift_geometrystate_legislative_districtsstatestigris_cache_dirtigris_typetractstribal_block_groupstribal_census_tractstribal_subdivisions_nationalurban_areasvoting_districtszctas

Dependencies:askpassclassclassIntclicurlDBIdplyre1071fansigenericsgluehttrjsonliteKernSmoothlifecyclemagrittrMASSmimeopensslpillarpkgconfigproxyR6rappdirsRcpprlangs2sfstringistringrsystibbletidyselectunitsutf8uuidvctrswithrwk

Readme and manuals

Help Manual

Help pageTopics
Download an address range features shapefile into Raddress_ranges
Download an Alaska Native Regional Corporation shapefile into R.alaska_native_regional_corporations
Retrieve GEOID from the Census Geocoder by addressappend_geoid
Download an area water shapefile into Rarea_water
Download a Census block groups shapefile into R, and optionally subset by countyblock_groups
Download a Census block shapefile into Rblocks
Call geolocator for one addresscall_geolocator
Call geolocator for one address with lat/lon, adds option to set benchmark and vintage if not provided it will default to the most recent.call_geolocator_latlon
Download a shapefile of the US coastline into Rcoastline
Download a combined statistical areas shapefile into Rcombined_statistical_areas
Download a congressional districts shapefile into Rcongressional_districts
Download a core-based statistical area shapefile into Rcore_based_statistical_areas
Download a US Counties shapefile into R, and optionally subset by statecounties
Download a county subdivision shapefile into Rcounty_subdivisions
Download a US Census divisions cartographic boundary shapefile into Rdivisions
Erase water area from an input polygon dataseterase_water
Filter a 'places' Spatial object for only those places matching the contents of the 'place' vector.filter_place
Filter a 'states' Spatial object for only those states matching the contents of the 'state' vector.filter_state
Dataset with FIPS codes for US states and countiesfips_codes
Easily merge a data frame to a spatial data framegeo_join
Find places matching a term in a 'places' objectgrep_place
Find states matching a term in a 'state' objectgrep_state
Returns 'TRUE' if 'obj' has a 'tigris' attributeis_tigris
Download a point or area landmarks shapefile into Rlandmarks
Download an linear water shapefile into Rlinear_water
Return a data frame of county names & FIPS codes for a given statelist_counties
Return a list of all the places in a 'places' objectlist_places
Return a list of all the states in a 'state' objectlist_states
Helper function to download Census dataload_tiger
Documentation Template for Functions that Utilize 'load_tiger'load_tiger_doc_template
Look up state and county codeslookup_code
Download a metropolitan divisions shapefile into R.metro_divisions
Download the Military Installation National Shapefile into Rmilitary
Download a US national boundary shapefile into Rnation
Download an American Indian / Alaska Native / Native Hawaiian Areas shapefile into R.native_areas
Download a New England City and Town Area shapefile into Rnew_england
Download Shapefiles which include both incorporated places (legal entities) and census designated places (statistical entities) into Rplaces
Download a national primary roads shapefile into Rprimary_roads
Download a primary & secondary roads shapefile into Rprimary_secondary_roads
Download a Public Use Microdata Area (PUMA) shapefile into Rpumas
Download a national rails shapefile into Rrails
Row-bind 'tigris' Spatial objectsrbind_tigris
Download a US regions cartographic boundary shapefile into Rregions
Download a roads shapefile into Rroads
Download a school district shapefile into Rschool_districts
Shift and rescale Alaska, Hawaii, and Puerto Rico in a US-wide sf objectshift_geometry
Download a state legislative districts shapefile into R - upper or lowerstate_legislative_districts
Download shapefile for all states into Rstates
Download and use U.S. Census TIGER shapefiles in Rtigris
Set the cache directory to store shapefiles with tigristigris_cache_dir
Get the type of 'tigris' object 'obj' istigris_type
tigris exported operators%>% tigris-exports
Download a Census tracts shapefile into R, and optionally subset by countytracts
Download a Tribal block groups shapefile into R.tribal_block_groups
Download a Tribal Census tract shapefile into R.tribal_census_tracts
Download an American Indian Tribal Subdivision National shapefile into R.tribal_subdivisions_national
Download an urban areas shapefile into Rurban_areas
Download a voting districts shapefile into Rvoting_districts
Download a Zip Code Tabulation Area (ZCTA) shapefile into Rzctas