AWQMS_Raw_Macros: AWQMS_Raw_Macros

View source: R/AWQMS_Raw_Macros.R

AWQMS_Raw_MacrosR Documentation

AWQMS_Raw_Macros

Description

Thus function will retrieve raw macroinvertebrate data from Oregon DEQ AWQMS

Usage

AWQMS_Raw_Macros(
  startdate = NULL,
  enddate = NULL,
  MLocID = NULL,
  AU_ID = NULL,
  project = NULL,
  OrganizationID = NULL,
  Wade_Boat = NULL,
  ReferenceSite = NULL,
  HUC8 = NULL,
  HUC8_Name = NULL,
  HUC10 = NULL,
  HUC12 = NULL,
  HUC12_Name = NULL,
  Char_Name = NULL,
  Bio_Intent = NULL,
  Taxonomic_Name = NULL,
  StageID = NULL,
  UniqueTaxon = NULL,
  Analytical_method = NULL,
  return_query = FALSE
)

Arguments

startdate

Required parameter setting the startdate of the data being fetched. Format 'yyyy-mm-dd'. Defaults to '1949-09-15'

enddate

Optional parameter setting the enddate of the data being fetched. Format 'yyyy-mm-dd'

AU_ID

Optional vector of Assessment Units to be fetched

project

Optional vector of projects to be fetched

Wade_Boat

option for filtering wadeable or boat samples. Options are: 'wadeable', 'boatable', or NULL.

ReferenceSite

filter for reference or non reference streams. Options are: NULL, '<Null>', 'YES', 'Not Loaded', "".

HUC8

Optional vector of HUC8s to be fetched

HUC8_Name

Optional vector of HUC8 names to be fetched

HUC10

Optional vector of HUC10s to be fetched

HUC12

Optional vector of HUC12s to be fetched

HUC12_Name

Optional vector of HUC12 names to be fetched

Char_Name

Optional vector or characteristic names. Options are: 'Count', 'Density'

Bio_Intent

Optional vector or Bio_intent. Options are: 'Population Census', 'Species Density'

Taxonomic_Name

Optional vector of taxa

StageID

Optional vector of stages. Options are: NULL, 'Adult', 'Larva', 'Pupa'

UniqueTaxon

Optioal vector. Options are: 'UniqueTaxon', 'AmbiguousTaxon'

return_query

If FALSE, fetches data from AWQMS. If TRUE, returns string of query language.

station

Optional vector of stations to be fetched

org

optional vector of Organizations to be fetched

Value

Dataframe of data from AWQMS


TravisPritchardODEQ/AWQMSdata documentation built on Nov. 10, 2024, 8:26 a.m.