congressional_districts(cb = FALSE, resolution = "500k", detailed = TRUE,
...)
refresh
, which specifies whether or not to re-download shapefiles
(defaults to FALSE
), and year
, the year for wstate_legislative_districts
;
voting_districts
library(tigris)
library(leaflet)
cd114 <- congressional_districts(cb = TRUE, resolution = '20m')
leaflet(cd114) %>%
addTiles() %>%
addPolygons()
Run the code above in your browser using DataLab