Description Usage Arguments Value
View source: R/download_shapefiles.R
Download shape file with tigris, convert it to data.tables and save them as csv files.
1 | download_shapefile(state = NULL, geography, year = 2016, ...)
|
state |
abbreviation of a state, such as "MA". |
geography |
geography of which shape files to download, such as "county" and "block group". |
year |
year of the shape files updated |
... |
... parameters in tigris fucntions such as counties() and block_groups() |
a data.table, and saved csv files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.