GetData: Get data for water quality status and trends analysis

Usage Arguments

View source: R/GetData.R

Usage

1
2
GetData(parameters = NULL, stations_AWQMS, start.date, end.date, huc8,
  query_nwis = FALSE, stations_NWIS, awqms.channel.name = "AWQMS")

Arguments

parameters

A list of parameters to include in the query

stations_AWQMS

Stations dataframe from get_stations_AWQMS()

start.date

The earliest date to include in the query. "

\item

end.dateThe latest date to include in the query. "

\item

huc8List of hucs within boundary

\item

query_nwisLogical. Should the function query the USGS NWIS database.

\item

stations_NWISStations dataframe from get_stations_NWIS()

\item

awqms.channel.nameThe name in quotes of the AWQMS ODBC connection. Defaults to "AWQMS". A dataframe of all available data within AWQMS that fit the query. Queries the Oregon DEQ AWQMS database for water quality monitoring data fitting the given parameters. Requires permissions to the VW_AWQMS_Results view in the AWQMS repository. This query is specific to the methods used in status and trends reporting. For a more comprehensive AWQMS query, see the AWQMS package by Travis Pritchard. GetData(parameters = c("parameter1", "parameter2"), stations_AWQMS = result-of-get_stations_AWQMS(), stations_NWIS = result-of-get_stations_NWIS(), start.date = "2010-01-01", end.date = "2019-01-01", awqms.channel.name = "AWQMS")


donco/odeqstatusandtrends documentation built on July 23, 2019, 8:40 a.m.