View source: R/tableau_handler.R
arg_spec | R Documentation |
arg_spec()
and return_spec()
are used to create arguments for
tableau_handler()
. They describe the data type of the arg or return value,
and can return a human-readable description that can be used to generate
documentation.
arg_spec(
type = c("character", "integer", "logical", "numeric"),
desc = "",
optional = grepl("\\?$", type)
)
return_spec(type = c("character", "integer", "logical", "numeric"), desc = "")
type |
A string indicating the data type that is required for this argument. |
desc |
A human-readable description of the argument. Used to generate documentation. |
optional |
If |
A tableau_arg_spec
object, which is a list containing details about
the Tableau argument expectations
A tableau_return_spec
object, which is a list containing details
about the values expected to be returned to Tableau
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.