get_zcta_metadata {zctaCrosswalk} | R Documentation |
Given a vector of ZIP Code Tabulation Areas (ZCTAs), return what state and county they are in. NOTE: A single ZCTA can span multiple states and counties.
get_zcta_metadata(zctas)
zctas |
A vector of ZCTAs (character or numeric) |
A tibble, where each row is a (zcta, county, state) combination.
get_zcta_metadata("90210")
# Some ZCTAs span multiple counties
get_zcta_metadata(39573)