Learn R Programming

zipcodeR (version 0.3.5)

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)

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

Arguments

zip_code

A 5-digit U.S. ZIP code

Examples

Run this code
is_zcta("90210")
is_zcta("99999")
is_zcta("07762")

Run the code above in your browser using DataLab