Learn R Programming

zipcodeR (version 0.3.5)

search_city: Search ZIP codes for a given city within a state

Description

Search ZIP codes for a given city within a state

Usage

search_city(city_name, state_abb)

Value

tibble of all ZIP code data found for given city

Arguments

city_name

Name of major city to search

state_abb

Two-digit code for a U.S. state

Examples

Run this code
search_city("Spring Lake", "NJ")
search_city("Chappaqua", "NY")

Run the code above in your browser using DataLab