is_zcta: Returns true if the given ZIP code is also a ZIP code...

View source: R/zip_lookups.r

is_zctaR Documentation

Returns true if the given ZIP code is also a ZIP code tabulation area (ZCTA)

Description

Returns true if the given ZIP code is also a ZIP code tabulation area (ZCTA)

Usage

is_zcta(zip_code)

Arguments

zip_code

A 5-digit U.S. ZIP code

Value

Boolean TRUE or FALSE based upon whether provided ZIP code is a ZCTA by testing whether it exists in the U.S. Census crosswalk data

Examples

is_zcta("90210")
is_zcta("99999")
is_zcta("07762")

gavinrozzi/zipcodeR documentation built on Feb. 16, 2024, 11:29 p.m.