Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rasmusab/fullcalendar
A quick hack to use FullCalendar to produce calendar htmlwidgets from R
https://github.com/rasmusab/fullcalendar
Last synced: 9 days ago
JSON representation
A quick hack to use FullCalendar to produce calendar htmlwidgets from R
- Host: GitHub
- URL: https://github.com/rasmusab/fullcalendar
- Owner: rasmusab
- License: other
- Created: 2017-03-13T14:12:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-19T12:48:29.000Z (almost 3 years ago)
- Last Synced: 2024-11-29T07:47:58.844Z (14 days ago)
- Language: R
- Size: 260 KB
- Stars: 23
- Watchers: 5
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - rasmusab/fullcalendar - A quick hack to use FullCalendar to produce calendar htmlwidgets from R (R)
README
# *Don't user this hack, use this instead: https://dreamrs.github.io/toastui/articles/extras/calendar.html :)*
# 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](http://www.htmlwidgets.org/) framework, so it's not well tested nor does
it include any fancy stuff, it's just a simple wrapper around the [fullCalendar](https://fullcalendar.io) function in FullCalendar.Install by using the `devtools` package:
``` r
devtools::install_github("rasmusab/fullcalendar")
```# Example
``` r
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](http://i.imgur.com/0BsTMIS.png)