Description Usage Arguments Details Value Author(s)
Functions takes a geocode and desired driving duration to create a drivetime isochrone.
1 | drive_time_points(lat, lng, duration, n = 60)
|
lat |
latitude |
lng |
longitude |
duration |
driving distance |
n |
number of points in the isochrone |
Taking a geocode, this will create a drivetime isochrone. Fidelity increases as n increases, but because the user has a limited number of calls to the distance matrix API daily and there are roughly 3*n calls made to the API for each call of drive_time_points, one can quickly burn up all of their daily calls by creating a few drivetime isochrones with a high n value. Currently only supports minutes and miles, and the only valid input is a geocode.
data frame of geocodes for isochrone to be used in conjunction with a mapping package
Martin Boros
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.