Reads in the USPS census tract to zip code crosswalk, cleans up the variable names and types, adds a year variable, and removes entries with no residential units.
process_tract_to_zip(file_path)| file_path | A character vector with the path to the crosswalk. |
|---|
A data frame with the processed crosswalk.
zip: zip code (character)
tract_fips: census tract FIPS code (character)
year: year (integer)
res_ratio: share of census tract's residential addresses in given zip
code (numeric)