dam_trends: Create a dataframe containing dam removal and hydrology data...

View source: R/gagesII.R

dam_trendsR Documentation

Create a dataframe containing dam removal and hydrology data from the USGS and USGS GAGES II websites.

Description

Create a dataframe containing dam removal and hydrology data from the USGS and USGS GAGES II websites.

Usage

dam_trends(site_num, startDate, endDate)

Arguments

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.

Value

returns a dataframe with 21 variables which include the dams removed and corresponding summary statistics from the sens.Slope and Kendall analysis.

Examples

# returns RBI summary statistics and dam removal data for given sites over the specified period
library(easyrbi)
dam_trends("01567000", "1970-10-01", "1990-09-30")


amutaya/easyrbi documentation built on May 9, 2022, 4:04 p.m.