
Last chance! 50% off unlimited learning
Sale ends in
Lookup information (e.g. Name, Units) for a specific HYPE variable ID, or find HYPE variable information for a search term.
VariableInfo(
variable,
info = c("ID", "Name", "Unit", "Description", "Aggregation", "Reference", "Component")
)VariableSearch(
search,
info = c("ID", "Name", "Unit", "Description", "Aggregation", "Reference", "Component"),
ignore_case = TRUE
)
VariableInfo
Returns a named list of the selected info
for the specified variable
ID.
VariableInfo
returns a tibble of the search results.
String, HYPE Variable ID (e.g. "COUT").
A vector of strings describing HYPE variable attribute information to return/search: "ID", "Name", "Unit", "Description", "Aggregation", and/or "Component".
String, search HYPE variable info for string matches in info
attributes.
Logical, should case differences be ignored in the match?
The VariableInfo
and VariableSearch
functions provide features to lookup information on HYPE variables from the
HYPE Wiki.
VariableInfo
can be used to return information (e.g. Name, Units) for a known HYPE Variable ID.
VariableSearch
can be used to search for e.g. an unknown HYPE variable ID based on a search
term.
The info
argument can be used to select which information to return or search.
VariableInfo(variable = "COUT", info = c("Name","Unit"))
VariableSearch(search = "ccSS", info = c("ID", "Name", "Description"))
Run the code above in your browser using DataLab