R/zip_lookups.r
is_zcta.Rd
Returns true if the given ZIP code is also a ZIP code tabulation area (ZCTA)
is_zcta(zip_code)
zip_code | A 5-digit U.S. ZIP code |
---|
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
is_zcta('90210')#> [1] TRUEis_zcta('99999')#> [1] FALSEis_zcta('07762')#> [1] TRUE