Data are stored at extdata/ZIP_TRACT_062021.xlsx for convenience. They were accesses on September 25, 2021.

census_tract_zip_crosswalk()

Source

https://www.huduser.gov/portal/datasets/usps_crosswalk.html

Geographic level

  • zipcode

  • census tract

Download

See also

Examples

ctract_zip = census_tract_zip_crosswalk() head(ctract_zip)
#> tract zip usps_zip_pref_city usps_zip_pref_state res_ratio bus_ratio #> 1: 1001020100 36067 PRATTVILLE AL 1.00000000 1.0000000 #> 2: 1001020200 36067 PRATTVILLE AL 1.00000000 1.0000000 #> 3: 1001020300 36067 PRATTVILLE AL 1.00000000 1.0000000 #> 4: 1001020400 36067 PRATTVILLE AL 0.02414163 0.5838509 #> 5: 1001020400 36066 PRATTVILLE AL 0.97585837 0.4161491 #> 6: 1001020500 36066 PRATTVILLE AL 0.79699134 0.5263158 #> oth_ratio tot_ratio #> 1: 1.0000000 1.00000000 #> 2: 1.0000000 1.00000000 #> 3: 1.0000000 1.00000000 #> 4: 0.2500000 0.07006369 #> 5: 0.7500000 0.92993631 #> 6: 0.9923954 0.77360696