calendar_events: Retrieve google calendar events.

Description Usage Arguments Details References See Also

View source: R/get_calendar_events.R

Description

This returns a tibble of events for a specific calendar.

Usage

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
)

Arguments

id

calendar id, obtained from calendar_list()

token

token obtained from calendar_token()

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 Sys.time()

max_results

Used internally to specify the maximum number of results retrieved per "page" of the query.

Details

The resulting tibble has nested list columns for:

To unnest these columns, use tidyr::unnest()

References

https://developers.google.com/google-apps/calendar/v3/reference/events/list

See Also

Other calendar functions: calendar_list()


andrie/gcalendr documentation built on March 8, 2020, 2:36 a.m.