Learn R Programming

choroplethr (version 5.0.0)

get_tract_map: 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, drop_geometry = TRUE)

Arguments

state_name

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

drop_geometry

Drop geometry data?