Broadway Musicals
Creating an interactive dashboard with shinymetrics and tidymetrics, moving windows, period aggregation
Notable topics: Creating an interactive dashboard with shinymetrics and tidymetrics, moving windows, period aggregation
Recorded on: 2020-04-27
Timestamps by: Eric Fletcher
Screencast
Timestamps
Use the cross_by_periods
function from the tidymetrics
package to aggregate data over time (month
, quarter
, and year
) then visualize with geom_line
.
Use the cross_by_periods
function from the tidymetrics
package with windows = c(28))
to create a 4-week rolling average across month
, quarter
, and year
.
Create and interactive dashboard
using the shinymetrics
and tidymetrics
packages.
Use the str_remove
function from the stringr
package to remove matched pattern in a string.
Use the cross_by_dimensions
function from the tidymetrics
package which acts as an extended group_by
that allows complete summaries across each individual dimension and possible combinations.
Use the shinybones
package to create an interactive dashboard to visualize all 3 metrics at the same time.