download_shapefile: Download a state's CoC shapefiles

Description Usage Arguments Value See Also

View source: R/process_coc_shapefiles.R

Description

Downloads the CoC shapefiles for a state in the given year.

Usage

1
download_shapefile(state_abb, state_name, year, td = tempdir())

Arguments

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.

Value

A spatial data frame:

See Also

get_pre_2013_coc_shapefiles() for the main function


ucsf-bhhi/coc-data documentation built on Dec. 23, 2021, 1:07 p.m.