View source: R/platform_utils.R
show_variant_message | R Documentation |
This helper function displays an informative message when a user accesses a year with multiple variants without specifying a variant parameter.
show_variant_message(year, selected_variant, is_variant_null, verbose = TRUE)
year |
Character string indicating the year |
selected_variant |
Character string indicating the variant that was selected |
is_variant_null |
Logical indicating if variant parameter was NULL |
verbose |
Logical indicating whether to show messages |
NULL (invisible), message shown as side effect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.