Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is_zcta

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

zipcodeR

Data & Functions for Working with US ZIP Codes

v0.3.0
GPL-3
Authors
Gavin Rozzi [aut, cre] (<https://orcid.org/0000-0002-9969-8175>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.