gc_new: Create a new calendar

Description Usage Arguments Details Value Examples

Description

Creates a new secondary calendar. This method operates on the Google Calendar API Calendars resource.

Usage

1
gc_new(summary, ..., verbose = TRUE)

Arguments

summary

Character string representing the title of the calendar.

verbose

Logical indicating whether to print informative messages.

...

Additional parameters to be passed as part of the HTTP request body. More information on these optional values is available below.

Details

For more information on the structure of a calendar object, see the Google Calendar API CalendarList Resource Overview.

Value

Calendar metadata as an invisible googlecalendar object (a custom class wrapping a named list).

Examples

1
2
3
4
5
6
7
8
## Not run: 
gc_new(
  "R User Group",
  description = "Local user group meetings",
  timeZone = "America/Chicago"
)

## End(Not run)

benjcunningham/googlecalendar documentation built on May 12, 2019, 11:56 a.m.