Description Usage Arguments Value See Also
View source: R/process_coc_shapefiles.R
Downloads the CoC shapefiles for a state in the given year.
1 | download_shapefile(state_abb, state_name, year, td = tempdir())
|
state_abb |
A character vector with two letter state abbreviations. |
state_name |
A character vector with state names. |
year |
A numeric with the year of the shapefiles. |
td |
A directory where the shapefiles will be unzipped. Defaults to the session temporary directory. |
A spatial data frame:
coc_number: CoC number
coc_name: CoC name
year: Year
geometry: The CoC's spatial data
get_pre_2013_coc_shapefiles()
for the main function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.