lookupZips: Lookup zip code location

Description Usage Arguments Value Examples

View source: R/ZipRadius.R

Description

Get the city, state, latitude and longitude of zip codes

Usage

1
lookupZips(zipcodes)

Arguments

zipcodes

A character vector of five digit zip codes

Value

A data frame with five columns and as many rows as the length of the zipcodes argument.

zip

Character. The zip codes you passed to the function.

city

Character. The cities containing the zip codes.

state

Character. The states containing the zip codes.

latitude

Numeric. The latitudes of the centers of the zip codes.

longitude

Numeric. The longitudes of the centers of the zip codes.

Examples

1
2
zipcodes <- c("99501", "90210", "33162", "60606", "42748", "99999")
lookupZips(zipcodes)

EAVWing/ZipRadius documentation built on Feb. 16, 2020, 10:30 p.m.