Loads an original CoC shapefile from HUD as a spatial data frame and adds a year column. Returns an error if it cannot parse a 4-digit year from the file path.
read_raw_coc_shapefile(shapefile_path)
shapefile_path | Path to the shapefile or other spatial data file/database |
---|
A spatial data frame:
coc_number: CoC number
coc_name: CoC name
year: Year
geometry: The CoC's spatial data