View source: R/mco_get_snotel_data.R
mco_get_snotel_data | R Documentation |
Download and process the Montana SNOTEL site inventory from the NRCS National Water and Climate Center
mco_get_snotel_data(
stations = c("1040:CO:SNTL", "619:OR:SNTL", "1048:NM:SNTL"),
variables = c("stationId", "WTEQ::value"),
start_date = "POR_BEGIN",
end_date = "POR_END"
)
stations |
A character vector of station identifiers in trinomial format (e.g., '1040:CO:SNTL'). |
variables |
A character vector of variables to request. Variables and their associated values are in variable/value pairs in the format "VARIABLE::value" (for example, "WTEQ::normal_1981" will give the 1981–2010 normal value for Snow Water Equivalent). Possible variables include:
Not all values are available for all variables. Possible values include:
|
start_date |
A Date object as the start date. Defaults to period of record. |
end_date |
A Date object as the end date. Defaults to period of record. |
A data frame containing the requested variables.
## Not run:
mco_get_snotel_data()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.