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)

Arguments

shapefile_path

Path to the shapefile or other spatial data file/database

Value

A spatial data frame:

  • coc_number: CoC number

  • coc_name: CoC name

  • year: Year

  • geometry: The CoC's spatial data

See also