Package: tigris 2.2.1.9000

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], Eli Pousson [ctb]

tigris_2.2.1.9000.tar.gz
tigris_2.2.1.9000.zip(r-4.7)tigris_2.2.1.9000.zip(r-4.6)tigris_2.2.1.9000.zip(r-4.5)
tigris_2.2.1.9000.tgz(r-4.6-any)tigris_2.2.1.9000.tgz(r-4.5-any)
tigris_2.2.1.9000.tar.gz(r-4.7-any)tigris_2.2.1.9000.tar.gz(r-4.6-any)
tigris_2.2.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
tigris/json (API)
NEWS

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

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

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

On CRAN:

Conda:

13.11 score 360 stars 21 packages 8.7k scripts 17k downloads 6 mentions 57 exports 38 dependencies

Last updated from:07e457d190. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK164
source / vignettesOK216
linux-release-x86_64OK161
macos-release-arm64OK113
macos-oldrel-arm64OK113
windows-develOK112
windows-releaseOK114
windows-oldrelOK90
wasm-releaseOK133

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_areasvalidate_countyvalidate_statevoting_districtszctas

Dependencies:askpassclassclassIntclicurlDBIdplyre1071genericsgluehttrjsonliteKernSmoothlifecyclemagrittrMASSmimeopensslpillarpkgconfigproxyR6rappdirsRcpprlangs2sfstringistringrsystibbletidyselectunitsutf8uuidvctrswithrwk

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
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
Check if county is a FIPS code, full name or abbreviation.validate_county
Check if state is a FIPS code, full name or abbreviationvalidate_state
Download a voting districts shapefile into Rvoting_districts
Download a Zip Code Tabulation Area (ZCTA) shapefile into Rzctas