Description Usage Arguments Value See Also Examples
Pulls all discharge data for the specified gage numbers and date range.
1 | get_flow_data(gages_df, start_date, end_date)
|
gages_df |
A dataframe that includes the column |
start_date |
Character string with the starting date, using "YYYY-MM-DD" notation. |
end_date |
Character string with the end date, using "YYYY-MM-DD" notation. |
A dataframe with discharge data for each of the specified monitors. This is a dataframe that includes columns for the gage site number, date of each observation, and observed mean daily discharge (cubic feet per second).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
miami_gages <- get_gages("12086", start_date = "2000-01-01",
end_date = "2009-12-31")
miami_flow_data <- get_flow_data(gages_df = miami_gages,
start_date = "2000-01-01",
end_date = "2000-01-31")
# Example using piping
library(dplyr)
miami_flow_data <- get_gages("12086", start_date = "2000-01-01",
end_date = "2009-12-31") %>%
get_flow_data(start_date = "2000-01-01",
end_date = "2000-01-31")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.