Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

search_radius

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)

zipcodeR

Data & Functions for Working with US ZIP Codes

v0.3.0
GPL-3
Authors
Gavin Rozzi [aut, cre] (<https://orcid.org/0000-0002-9969-8175>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.