These functions allow to create new schedule(s), update existing ones and delete schedule in a calendar within the server in a Shiny application.

cal_proxy_create(
  proxy,
  start = NULL,
  end = NULL,
  title = NULL,
  body = NULL,
  id = NULL,
  calendarId = NULL,
  category = NULL,
  ...,
  .list = NULL
)

cal_proxy_delete(proxy, calendarId = NULL, id = NULL)

cal_proxy_update(
  proxy,
  calendarId = NULL,
  id = NULL,
  start = NULL,
  end = NULL,
  title = NULL,
  body = NULL,
  category = NULL,
  ...,
  .list = NULL
)

Arguments

proxy

A calendarProxy htmlwidget object.

start

The start time.

end

The end time.

title

The schedule title.

body

The schedule body text which is text/plain.

id

An id for the schedule.

calendarId

An id for the calendar.

category

The schedule type ('milestone', 'task', allday', 'time').

...

Additionnal arguments passed to the JavaScript method.

.list

A list with same information as above, useful with input$<outputId>_add_schedule.