is_taxonomy | R Documentation |
Confirms whether the input object is a valid taxonomy. This function mainly helps validate input within other functions of the package but could be used to check if a taxonomy is valid.
is_taxonomy(object)
object |
A potential taxonomy to be evaluated. |
A taxonomy is a classification schema that can be defined for variable
attributes. A taxonomy is usually extracted from an
Opal environment, and a
taxonomy object is a data frame that must contain at least the columns
taxonomy
, vocabulary
, and terms
. Additional details about Opal
taxonomies are
available online.
A logical.
{
# use madshapR_DEMO provided by the package
is_taxonomy(madshapR_DEMO$taxonomy_PARIS)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.