Description Usage Arguments Value References Examples
View source: R/food-delivery-search.R
Find services that deliver food to a specified location in the USA.
1 2 | food_delivery_search(location, latitude = NULL, longitude = NULL,
access_token = Sys.getenv("YELP_ACCESS_TOKEN", NA))
|
location |
A string describing the building or other precise location.
If this is not provided, then |
latitude |
A number representing the latitude to search close to. |
longitude |
A number representing the longitude to search close to. |
access_token |
A string giving an access token to authenticate the API
call. See |
A data frame with 24 columns. Each row corresponds to one business.
https://www.yelp.com/developers/documentation/v3/transaction_search
1 2 3 | ## Marked as don't test because an access token is needed
lunchtime <- food_delivery_search("empire state building")
if(interactive()) View(lunchtime) else str(lunchtime)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.