drive_time_points: Create dataframe of geocodes that can be used to map a...

Description Usage Arguments Details Value Author(s)

View source: R/drivetime.R

Description

Functions takes a geocode and desired driving duration to create a drivetime isochrone.

Usage

1
drive_time_points(lat, lng, duration, n = 60)

Arguments

lat

latitude

lng

longitude

duration

driving distance

n

number of points in the isochrone

Details

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.

Value

data frame of geocodes for isochrone to be used in conjunction with a mapping package

Author(s)

Martin Boros


mboros1/drivetime documentation built on May 25, 2019, 9:34 p.m.