Function to fetch the data from Envirodata. This function is deprecated and get_wq_report_data should be used instead.

FetchData(
  stations = NULL,
  start_date,
  end_date,
  analytes,
  media = NULL,
  guidelines = NULL,
  stMdGl = NULL,
  includeQaQc = T
)

Arguments

stations

a character vector with the station names

start_date

a date string in format

end_date

a date string in format

analytes

a character vector with analytes to be fetched

media

a single media type

guidelines

a character vector of guidelines to include

stMdGl

dataframe with existing combinations of stations, media types and guidelines. Column names are stationName, mediaType, guidelineNames

includeQaQc

a logical value (T/F) to indicate whether to include QA/QC duplicates with the data