Supercalifragilistic HTML Calendar Heatmaps
The veritable Mary Poppins of interactive R calendar heatmaps.
- Don’t really need Vue or React
- Not interested in a lookalike github calendar thing
- Wanted to be able to use data frames and make the widget perform the data wrangling for me
- Wanted to use bare or quoted names for specifyin columns
- Needed a decent & free calendar widget for some 2019 projects
NOTE that this is a 3 hour old project as of the public push so it’s going to have corners rounded out and some things won’t work.
The following functions are implemented:
The widget itself:
supercal
: Supercalifragilistic HTML Calendar Heatmaps
Styling helpers:
cal_colors
: Construct a legend color object for calendar heatmap parameterscal_label
: Construct a margin object for calendar heatmap parameterscal_legend
: Modify the calendar heatmap legendcal_margin
: Construct a margin object for calendar heatmap parameterscal_names
: Construct a tooltip names object for the calender widgetcal_offset
: Construct an offset object for calendar labelscal_style
: Add CSS styling rules to a calendar heatmaplabel_cells
: Display labels on calendar heatmap cells
Shiny stuff:
renderSupercaliheatmapwidget
: Shiny bindings for supercaliheatmapwidgetsupercaliheatmapwidget
:-shiny Shiny bindings for supercaliheatmapwidgetsupercaliheatmapwidgetOutput
: Shiny bindings for supercaliheatmapwidget
devtools::install_git("https://git.sr.ht/~hrbrmstr/supercaliheatmapwidget")
# or
devtools::install_gitlab("hrbrmstr/supercaliheatmapwidget")
# or
devtools::install_github("hrbrmstr/supercaliheatmapwidget")
It’s an htmlwidget so please go here to take a look.
Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) |
---|---|---|---|---|---|---|---|---|
R | 16 | 0.94 | 212 | 0.97 | 55 | 0.68 | 180 | 0.77 |
Rmd | 1 | 0.06 | 6 | 0.03 | 26 | 0.32 | 54 | 0.23 |
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.