| VariableLookup | R Documentation |
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
)
variable |
String, HYPE Variable ID (e.g. "COUT"). |
info |
A vector of strings describing HYPE variable attribute information to return/search: "ID", "Name", "Unit", "Description", "Aggregation", and/or "Component". |
search |
String, search HYPE variable info for string matches in |
ignore_case |
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 Returns a named list of the selected info for the specified variable ID.
VariableInfo returns a tibble of the search results.
VariableInfo(variable = "COUT", info = c("Name","Unit"))
VariableSearch(search = "ccSS", info = c("ID", "Name", "Description"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.