https://github.com/carlganz/fullcalendarwidget
Wrapper for fullcalendar js library
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.4%) to scientific vocabulary
Keywords
fullcalendar
r
shiny
Last synced: 6 months ago
·
JSON representation
Repository
Wrapper for fullcalendar js library
Basic Info
- Host: GitHub
- Owner: carlganz
- License: other
- Language: JavaScript
- Default Branch: master
- Size: 1.11 MB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
- Releases: 0
Topics
fullcalendar
r
shiny
Created about 8 years ago
· Last pushed about 8 years ago
Metadata Files
Readme
License
README.Rmd
---
output: github_document
---
[](https://travis-ci.org/CannaData/fullcalendarWidget)
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# fullcalendarWidget
The goal of fullcalendarWidget is to provide interactive calendars as an HTMLWidget using the [fullcalendar library](https://fullcalendar.io).
## Installation
You can install fullcalendarWidget from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("CannaData/fullcalendarWidget")
```
## Example
You can run `fullcalendar` in the console (it works in RStudio at least)
```{r example, eval = FALSE}
library(fullcalendarWidget)
# blank calendar of current month
fullcalendar()
# with events
fullcalendar(events = data.frame(title = "Event", date = Sys.Date()))
# with options and callbacks
fullcalendar(options = list(header = list(left = "", center = "", right = "prev,next")),
callbacks = list(dayClick = DT::JS(
"function(date, jsEvent, view) {
alert(date.format());
}"
)))
```
You can also use in `shiny`
```{r shiny-example, eval = FALSE}
library(shiny)
library(fullcalendarWidget)
ui <- fluidPage(textInput("text","Edit Text Here", "Example Text"), fullcalendarOutput("test"))
server <- function(input, output, server) {
output$test <- renderFullcalendar({
fullcalendar(
events = data.frame(
id = 1:2,
title = c("Event 1", input$text),
start = Sys.Date() + 0:1,
color = c("blue", "orange")
),
options = list(header = list(
left = "",
center = "",
right = "prev,next"
)),
callbacks = list(
dayClick = DT::JS(
"function(date, jsEvent, view) {
alert('Clicked on: ' + date.format());
}"
)
)
)
})
}
shinyApp(ui, server)
```
Owner
- Name: Carl Ganz
- Login: carlganz
- Kind: user
- Location: Los Angeles
- Twitter: carlishganzino
- Repositories: 9
- Profile: https://github.com/carlganz
Some kind of programer
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: about 19 hours
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- dunhampa (1)