Description Usage Arguments Value Examples
Use the ID from a business search to return only details for that business.
1 2 | event_lookup(events, locale = get_yelp_locale(),
access_token = Sys.getenv("YELP_ACCESS_TOKEN", NA))
|
events |
A character vector describing the Yelp IDs of events,
as returned by |
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 1 row and 28 columns.
1 2 3 4 5 6 | ## Marked as don't test because an access token is needed
# First search for events
events_in_kansas_city <- event_search("kansas city")
# Use the returned ID to lookup a specific event
the_main_event <- event_lookup(events_in_kansas_city$id[1L])
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.