Search a term by its label in the Movebank Attribute Dictionary (MVB).
Returns in order: term with matching prefLabel
, matching altLabel
or
error when no matching term is found.
See also
Other support functions:
datacite_to_eml()
,
get_aphia_id()
Examples
get_mvb_term("animal_id")
#> Error in purrr::keep(terms, function(x) { tolower(x$prefLabel$`@value`) == label_clean}): ℹ In index: 1.
#> Caused by error:
#> ! `.p()` must return a single `TRUE` or `FALSE`, not an empty logical
#> vector.
get_mvb_term("Deploy.On.Date")
#> Error in purrr::keep(terms, function(x) { tolower(x$prefLabel$`@value`) == label_clean}): ℹ In index: 1.
#> Caused by error:
#> ! `.p()` must return a single `TRUE` or `FALSE`, not an empty logical
#> vector.