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)

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