Skip to content

hrbrmstr/supercaliheatmapwidget

Repository files navigation

Travis-CI Build Status Coverage Status CRAN_Status_Badge

supercaliheatmapwidget

Supercalifragilistic HTML Calendar Heatmaps

Description

The veritable Mary Poppins of interactive R calendar heatmaps.

Why?

  • 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.

What’s Inside The Tin

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 parameters
  • cal_label: Construct a margin object for calendar heatmap parameters
  • cal_legend: Modify the calendar heatmap legend
  • cal_margin: Construct a margin object for calendar heatmap parameters
  • cal_names: Construct a tooltip names object for the calender widget
  • cal_offset: Construct an offset object for calendar labels
  • cal_style: Add CSS styling rules to a calendar heatmap
  • label_cells: Display labels on calendar heatmap cells

Shiny stuff:

  • renderSupercaliheatmapwidget: Shiny bindings for supercaliheatmapwidget
  • supercaliheatmapwidget:-shiny Shiny bindings for supercaliheatmapwidget
  • supercaliheatmapwidgetOutput: Shiny bindings for supercaliheatmapwidget

Installation

devtools::install_git("https://git.sr.ht/~hrbrmstr/supercaliheatmapwidget")
# or 
devtools::install_gitlab("hrbrmstr/supercaliheatmapwidget")
# or
devtools::install_github("hrbrmstr/supercaliheatmapwidget")

Usage

It’s an htmlwidget so please go here to take a look.

supercaliheatmapwidget Metrics

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

Code of Conduct

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.

About

📅 Supercalifragilistic HTML Calendar Heatmaps

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published