get_zcta_metadata {zctaCrosswalk} | R Documentation |
Return metadata on a ZCTA
Description
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.
Usage
get_zcta_metadata(zctas)
Arguments
zctas |
A vector of ZCTAs (character or numeric) |
Value
A tibble, where each row is a (zcta, county, state) combination.
Examples
get_zcta_metadata("90210")
# Some ZCTAs span multiple counties
get_zcta_metadata(39573)
[Package zctaCrosswalk version 2.0.0 Index]