verify_var_src | R Documentation |
Check whether a var_src is listed in get_var_src_codes()
verify_var_src(var_var_src, src, on_fail = warning)
var_var_src |
may be either a variable, e.g. "doobs", or a var_src, e.g. "doobs_nwis". |
src |
a data source; optional if var_var_src is specified with both variable and source |
on_fail |
the function to apply to an information message (character) if the var_src is not valid |
a single TRUE if successful, else on_fail(msg) followed by a vector of T/F values with F for invalid var_srces
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.