Giter Club home page Giter Club logo

fullercalendar's Introduction

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)

fullercalendar's People

Contributors

ari-nz avatar

Stargazers

 avatar

Watchers

 avatar

fullercalendar's Issues

Design R - JS interactions

Key uses:

  • Initialization
  • Modifications
  • Extraction / Saving

Possible Function options

Modifications
defaultDate - use gotoDate instead
defaultView - use changeView instead
Otherwise use setOption
For events & eventSources we can use addEventSource and remove

See https://fullcalendar.io/docs/dynamic-options

Other requirements

  • Sizing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.