Description Usage Arguments Details References See Also
View source: R/get_calendar_events.R
This returns a tibble of events for a specific calendar.
1 2 3 4 5 6 7 8 | calendar_events(
id,
token = calendar_token(),
days_in_past = 90,
days_in_future = 90,
now = Sys.Date(),
max_results = 250
)
|
id |
calendar id, obtained from |
token |
token obtained from |
days_in_past |
Restrict results to date range, number of days in past |
days_in_future |
Restrict results to date range, number of days into future |
now |
Reference time stamp, defaulting to |
max_results |
Used internally to specify the maximum number of results retrieved per "page" of the query. |
The resulting tibble has nested list columns for:
attendees
creator
organizer
To unnest these columns, use tidyr::unnest()
https://developers.google.com/google-apps/calendar/v3/reference/events/list
Other calendar functions:
calendar_list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.