benjcunningham / googlecalendar

Easily access and modify calendars, events, and UI settings via the Google Calendar API
Other
12 stars 6 forks source link

Mass event creation #9

Closed benjcunningham closed 8 years ago

benjcunningham commented 8 years ago

Creating a ton of events at once really deserves a better blueprint for implementation than what little thought I've given it so far...

For reference, the CSV uploading described in Import events to Google Calendar is what we should be aiming for (by passing a data.frame or one of its relatives).

benjcunningham commented 8 years ago

Initial thoughts on gc_event_import() functionality: It should take a calendar and a table of events (as either a tbl_df or file path). It ought to POST a new event for every row in the data frame and return a vector of either event IDs or event objects.

Tentative action items:

benjcunningham commented 8 years ago

The basic functionality is pretty much tied together in 99e8d75. Opening the following issues to address some of the leftover ideas:

Regular event import headers – #10 Optionally take file path for CSV event import – #11