powered by
Converts user-facing datatype names (e.g., "Grey seal") to internal SHARK4R names (e.g., "GreySeal") based on SHARK4R:::.type_lookup. See available user-facing datatypes in get_shark_options()$dataTypes.
SHARK4R:::.type_lookup
get_shark_options()$dataTypes
translate_shark_datatype(x)
Character vector of translated datatype names
Character vector of datatype names to translate
# Example strings datatypes <- c("Grey seal", "Primary production", "Physical and Chemical") # Basic translation translate_shark_datatype(datatypes)
Run the code above in your browser using DataLab