Simple R library to download Google Calendar data for yourself.
Library
on the left menuGoogle Calendar API
Enable API
(You may have to create a new project using the top bar on this page, after that you should be able to Enable the API).Create Credentials
> Select Google Calendar API
or OAuth client ID
> Choose Other Non-UI
or Other
for where you call API from Client ID
and (2) Client Secret
. If it asks you for more then that, you have run into trouble and try again. .Renviron
file using the following format
GOOGLE_CLIENT_ID = 9555748731-3r345435345345lsdhfodisfj9nsbsidtg.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET = ugOr3434343sfdfdsdCPS5
devtools::install_github('emadretina/gcaltools')
calendar_data_list <- gcaltools::get_google_calendar_df()
This will create a list with two data frames (1) People you met (2) your calendar events
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.