Description Usage Arguments Details Value See Also Examples
List the required and optional parameters for a flexdashboard template passed to flex
.
1 | flex_params(template)
|
template |
character, the flexdashboard template. See |
This function returns a data frame with three columns. The first contains parameter names pertaining to a specific template.
The second is a column of default values. If NA
, the parameter is required to be passed by the user any time the template is rendered using flex
.
Otherwise, the parameter is optional, given that a default value is set by the template if the user ignores the parameter.
The third is a column of hints, containing information regarding what constitutes valid values for the parameters in case you are less familiar with the SNAPverse and SNAP climate data sets.
a list or NULL
.
flex_templates flex
1 | flex_params("psc1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.