/fullcalendar

A quick hack to use FullCalendar to produce calendar htmlwidgets from R

Primary LanguageROtherNOASSERTION

fullcalendar

This is a simple R package that allows you to created calendar widgets from R using the FullCalendar javascript library. I made this as a quick hack to try out the htmlwidget framework, so it's not well tested nor does it include any fancy stuff, it's just a simple wrapper around the fullCalendar function in FullCalendar.

Install by using the devtools package:

devtools::install_github("rasmusab/fullcalendar")

Example

data = data.frame(title = paste("Event", 1:3),
                 start = c("2017-03-01", "2017-03-01", "2017-03-15"),
                 end = c("2017-03-02", "2017-03-04", "2017-03-18"),
                 color = c("red", "blue", "green"))
fullcalendar(data)

Which would give you the following calendar widget, not as a picture as below, but "interactive" in the sense that you could switch month:

Imgur