Learn R Programming

ubeR (version 0.1.4)

uber_estimate_time: Time estimate

Description

Returns ETAs for all products currently available at a given location. The ETA for each product is expressed in seconds.

Usage

uber_estimate_time(start_latitude = NULL, start_longitude = NULL,
  start_address = NULL, product_id = NULL)

Arguments

start_latitude
Initial latitude.
start_longitude
Initial longitude.
start_address
Initial address.
product_id
Unique identifier representing a specific product.

References

https://developer.uber.com/docs/ride-requests/references/api/v1-estimates-time-get

Examples

Run this code
## Not run: ------------------------------------
# uber_estimate_time(start_latitude = 37.761492, start_longitude = -122.423941)
## ---------------------------------------------

Run the code above in your browser using DataLab