Learn R Programming

ubeR (version 0.1.4)

uber_estimate_price: Price estimate

Description

Returns an estimated price range for each product offered at a given location

Usage

uber_estimate_price(start_latitude = NULL, start_longitude = NULL,
  end_latitude = NULL, end_longitude = NULL, start_address = NULL,
  end_address = NULL, seat_count = NULL)

Arguments

start_latitude
Initial latitude.
start_longitude
Initial longitude.
end_latitude
Final latitude.
end_longitude
Final longitude.
start_address
Initial address.
end_address
Final address.
seat_count
Number of passengers.

References

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

Examples

Run this code
## Not run: ------------------------------------
# uber_estimate_price(start_latitude = 37.761492, start_longitude = -122.423941,
#                     end_latitude = 37.775393, end_longitude = -122.417546)
## ---------------------------------------------

Run the code above in your browser using DataLab