geocode_zip: Returns that lat / lon pair of the centroid of a given ZIP...

View source: R/zip_lookups.r

geocode_zipR Documentation

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

Description

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

Usage

geocode_zip(zip_code)

Arguments

zip_code

A 5-digit U.S. ZIP code

Value

tibble of lat lon coordinates

Examples

geocode_zip("07762")
geocode_zip("90210")
geocode_zip("90210")$lat
geocode_zip("90210")$lng

zipcodeR documentation built on Oct. 4, 2022, 1:05 a.m.