impaired_waters: impaired_waters

View source: R/impaired_waters.R

impaired_watersR Documentation

impaired_waters

Description

This function will return a dataframe of waterbodies listed as either category 4 or 5 for a given set of subbasins (huc4's) and parameters. Defaults to using 2012 IR report. Will be updated once the 2018 report is finalized.

Usage

impaired_waters(
  database = "WQ303d",
  table = "tbl2012303dIntegratedList",
  parameter = NULL,
  HUC8Code = NULL
)

Arguments

database

Source database

table

Table in database to source data from.

parameter

string, or vector of strings, for parameter to be used

HUC8Code

string, or vector of strings, of HUC 4 subbasin names

Value

Dataframe of IR category 4 and category 5

Examples

 ## Not run: 
 Rogue_Listings <- impaired_waters(database = "WQ303d",
                   table = "tbl2012303dIntegratedList",
                   parameter = "Temperature",
                   HUC8Code = c('17100307', '17100308', '17100310', '17100311'))
 
## End(Not run)

TravisPritchardODEQ/TMDLMrkdwn documentation built on Jan. 17, 2024, 5:32 a.m.