View source: R/get_res_hydrodata.R
get_res_data | R Documentation |
Grab any of the reservoir data from the BoR Hydrodata API if you know the number corresponding to a given reservoir and the number corresponding to a given datatype. The function also allows you to grab a specific day, or the entire historic/current data if no date is specified.
get_res_data(reservoir_num, data_type_num, date = NULL, most_recent = FALSE)
reservoir_num |
|
data_type_num |
|
date |
|
a two-column tibble of returned data
get_res_data(919, 49) # get Powell Elevation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.