get_shapefiles: Read in CoC shapefiles

Description Usage Arguments Details Value

View source: R/process_coc_shapefiles.R

Description

Reads in all CoC shapefiles. Pre-2013 shapefiles are downloaded from HUD, 2013+ shapefiles are read from input_data.

Usage

1
get_shapefiles(year, raw_coc_shapefiles, crs)

Arguments

year

A numeric with the shapefile year.

raw_coc_shapefiles

A character vector of paths to shapefiles saved on disk.

crs

A numeric with the coordinate reference system (CRS) to use for the shapefiles.

Details

Prior to 2013, HUD released individual shapefiles for each CoC and grouped them by state. This function handles downloading and extracting those shapefiles in pre_2013_shapefile().

Value

A spatial data frame:


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