This package enables you to read events from google calendar.
The package is not yet on CRAN.
You can install the development version of gcalendr
from github using:
# install.packages("devtools")
devtools::install_github("andrie/gcalendr")
Use this example to authenticate, list available calendars and view events:
## Set up google oauth permissions
## This will prompt you to specify an account
gcalendr_auth()
## To specify a specific account, provide your email address
gcalendr_auth("[email protected]")
## Retrieve tibble of available calenders
calendar_ids <- get_gcal_list()
calendar_ids
## Retrieve tibble of events from a specific calendar
my_cal_id <- "[email protected]"
events <- get_gcal_events(my_cal_id, days_in_past = 90, days_in_future = 90)
events