get_zcta_metadata: Return metadata on a ZCTA

View source: R/zcta.R

get_zcta_metadataR 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)

zctaCrosswalk documentation built on April 19, 2023, 5:08 p.m.