tracts(state, county = NULL, cb = FALSE, detailed = TRUE, ...)
refresh
, which specifies whether or not to re-download shapefiles
(defaults to FALSE
), and year
, the year for wblock_groups
;
blocks
; counties
;
places
; pumas
;
school_districts
; states
;
zctas
library(tigris)
library(leaflet)
tarrant <- tracts("TX", "Tarrant", cb = TRUE)
leaflet(tarrant) %>%
addTiles() %>%
addPolygons(popup = ~NAME)
Run the code above in your browser using DataLab