get_tract_map: Download a map of all census tracts in a given state

View source: R/tract.R

get_tract_mapR Documentation

Download a map of all census tracts in a given state

Description

The map returned is exactly the same map which tract_choropleth uses. It is downloaded using the "tracts" function in the tigris package, and then it is modified for use with choroplethr.

Usage

get_tract_map(state_name, map_year, drop_geometry = TRUE)

Arguments

state_name

The name of the state, given by proper name, abbreviation, for FIPS code.

map_year

The year of the map you want to download.

drop_geometry

Drop geometry data?


choroplethr documentation built on Nov. 5, 2025, 6:12 p.m.