Description Usage Arguments Value References Examples
View source: R/featured-events.R
List the featured events for a location, as curated by the Yelp staff.
1 2 3 | featured_event(location = NULL, latitude = NULL, longitude = NULL,
locale = get_yelp_locale(),
access_token = Sys.getenv("YELP_ACCESS_TOKEN", NA))
|
location |
A string describing the location. |
latitude |
A number representing the latitude to search close to. |
longitude |
A number representing the longitude to search close to. |
locale |
A string naming the locale. See |
access_token |
A string giving an access token to authenticate the API
call. See |
A data frame with 26 columns. Each row corresponds to one event.
https://www.yelp.com/developers/documentation/v3/event_search
1 2 3 | ## Marked as don't test because an access token is needed
the_main_event <- featured_event("san francisco")
if(interactive()) View(the_main_event) else str(the_main_event)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.