View source: R/peoplewithindrivingdistance.R
peoplewithindrivingdistance | R Documentation |
People Within Driving Distance
peoplewithindrivingdistance(locations, center, maxtime, key)
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) |
a filtered data frame, with only rows where location is with maxtime minutes of center
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.