Description Usage Arguments Examples
View source: R/metric-panel-footer.R
This is a component module to ...
1 2 3 4 5 | metric_panel_footer(input, output, session, metric,
date_range = range(metric$date),
selected_date_range_preset = "Last Year", ...)
metric_panel_footer_ui(id, selected_period = NULL, periods, ...)
|
input |
standard |
output |
standard |
session |
standard |
metric |
a |
date_range |
a range of dates |
selected_date_range_preset |
selected date range preset |
... |
Additional parameters to pass to module |
id |
a string indicating the id to call the module with |
selected_period |
a string indicating selected period |
periods |
a named vector of periods. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
shinybones::preview_module(metric_panel_footer,
selected_date_range_preset = 'Last Week',
selected_period = 'month'
)
## End(Not run)
## Not run:
library(dplyr)
metrics <- datacampr::dc_s3_read('metrics_condensed.rds')$metrics_condensed
preview_metric(metrics$content_courses_avg_rating_wtd)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.