Skip to content

Bindings to the fullcalendar js library in R

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

ari-nz/fullercalendar

Repository files navigation

fullercalendar

Travis build status Codecov test coverage

The goal of fullercalendar is to …

Installation

You cannot yet install the released version of fullercalendar from CRAN, but when you can you can do so with:

install.packages("fullercalendar")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("ari-nz/fullercalendar")

Example

library(fullercalendar)
now = Sys.time()
today = Sys.Date()
events = data.frame(title = paste("Event", 1:4),
                 start  = c(isodate(today+(-1:1)), isotime(now)),
                 end    = c(isodate(today+(0:2) ), isotime(now + 4800)),
                 color  = c("red", "#3788d8", "green", "blue"))

head(events)
#>     title                    start                      end   color
#> 1 Event 1               2019-11-27               2019-11-28     red
#> 2 Event 2               2019-11-28               2019-11-29 #3788d8
#> 3 Event 3               2019-11-29               2019-11-30   green
#> 4 Event 4 2019-11-28T18:30:27+1300 2019-11-28T19:50:27+1300    blue

man/figures/README-display-1.png

Shiny Example

library(shiny)
library(fullercalendar)

ui <- fluidPage(
  fullercalendarOutput('mycal'),
)

server <- function(input, output, session) {
  output$mycal = renderFullercalendar({
    fc = fullercalendar(events)
    fc
  })
}

shinyApp(ui, server)

About

Bindings to the fullcalendar js library in R

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published