The zip2fips Module

Utility to download ZIP to FIPS mapping from HUD site

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

class Zip2FipsCrossWalk[source]
table = 'public.hud_zip2fips'
url_pattern = 'https://www.huduser.gov/portal/datasets/usps/ZIP_COUNTY_{month}{year}.xlsx'
m2q = {1: '03', 2: '06', 3: '09', 4: '12'}
download(year: int, quarter: int) DataFrame[source]
save()[source]