View source: R/data_processing.R
rbi_df | R Documentation |
Create a dataframe with the calculated annual Richards Baker Flashiness Index (RBI) for specified sites and duration
rbi_df(site_num, startDate, endDate)
site_num |
a "character" vector that contains the study site numbers. |
startDate |
a "date" following the Y-m-d format. |
endDate |
a "date" following the Y-m-d format. |
returns a data.frame with the waterYear variable and RBI values for specified sites saved in columns.
# return a dataframe with annual RBI values for specified USGS gauge sites over specified duration library(easyrbi) rbi_df(c("01564500", "01567000"), "1970-10-01", "1980-09-30")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.