search_radius: Search for ZIP codes that are within a given radius from a...

View source: R/zip_lookups.r

search_radiusR Documentation

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

Description

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

Usage

search_radius(lat, lng, radius = 1)

Arguments

lat

latitude

lng

longitude

radius

distance to search in miles, set by default to 1

Value

a tibble containing the ZIP code(s) within the provided radius and distance from the provided coordinates in miles

Examples

## Not run: 
search_radius(39.9, -74.3, 10)

## End(Not run)

gavinrozzi/zipcodeR documentation built on Feb. 16, 2024, 11:29 p.m.