peoplewithindrivingdistance: People Within Driving Distance

View source: R/peoplewithindrivingdistance.R

peoplewithindrivingdistanceR Documentation

People Within Driving Distance

Description

People Within Driving Distance

Usage

peoplewithindrivingdistance(locations, center, maxtime, key)

Arguments

locations

a data frame of locations including lon and lat columns

center

a center location. Can be a character string or a two column data frame.

maxtime

a maximum driving time in minutes

key

Google API key (see https://developers.google.com/maps/documentation/geocoding/get-api-key)

Value

a filtered data frame, with only rows where location is with maxtime minutes of center


crazybilly/rmapcounties documentation built on Jan. 4, 2024, 6:32 a.m.