Select an immutable modern data bundle, then use the next-generation functions. The bundle is always the first argument and is never selected or downloaded implicitly.

download_zip_data_bundle()

Download a versioned zipcodeR data bundle

read_zip_data_bundle()

Read a versioned zipcodeR data bundle

zip_data_version()

Report zipcodeR data-version metadata

zip_data_provenance()

Inspect the provenance supplied with a zipcodeR data bundle

search_state_ng()

Search a state using an explicit data bundle

search_county_ng()

Search a county using an explicit data bundle

search_city_ng()

Search a city using an explicit data bundle

search_tz_ng()

Search a timezone using an explicit data bundle

search_fips_ng()

Search FIPS codes using an explicit data bundle

search_cd_ng()

Search a congressional district using an explicit data bundle

search_radius_ng()

Search within a radius using an explicit data bundle

reverse_zipcode_ng()

Reverse-geocode ZIP codes using an explicit data bundle

geocode_zip_ng()

Geocode ZIP codes using an explicit data bundle

get_tracts_ng()

Get Census tracts using an explicit data bundle

get_cd_ng()

Get congressional districts using an explicit data bundle

is_zcta_ng()

Test ZCTA membership using an explicit data bundle

normalize_zip_ng()

Normalize ZIP codes with corrected boundary behavior

zip_distance_ng()

Calculate ZIP-to-ZIP distance using an explicit data bundle

Historical compatibility API

Existing names retain the exact 0.3.5 data and behavior for old scripts and research reproduction.

search_state()

Search for ZIP codes located within a given state

search_county()

Search ZIP codes for a county

search_city()

Search ZIP codes for a given city within a state

search_tz()

Search all ZIP codes located within a given timezone

search_fips()

Returns all ZIP codes found within a given FIPS code

search_cd()

Get all ZIP codes that fall within a given congressional district

search_radius()

Search for ZIP codes that are within a given radius from a point

reverse_zipcode()

Given a ZIP code, returns columns of metadata about that ZIP code

geocode_zip()

Returns that lat / lon pair of the centroid of a given ZIP code

get_tracts()

Get all Census tracts within a given ZIP code

get_cd()

Get all congressional districts for a given ZIP code

is_zcta()

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

normalize_zip()

Normalize ZIP codes

zip_distance()

Calculate the distance between two ZIP codes in miles

download_zip_data()

Legacy in-place data downloader

Data objects

zip_code_db

ZIP Code Database

zcta_crosswalk

ZCTA to Census Tract (2010) Crosswalk

zip_to_cd

ZIP Code to Congressional District Relationship File

Optional comprehensive data

download_comprehensive_data()

Download the comprehensive ZIP code database