Subfunction for performing QC. Needs to be called from ContDataQC(). Requires zoo().

fun.QC(
  fun.myData.SiteID,
  fun.myData.Type = "QC",
  fun.myData.DateRange.Start,
  fun.myData.DateRange.End,
  fun.myDir.import = "",
  fun.myDir.export = "",
  fun.myReport.format,
  fun.myReport.Dir,
  fun.CreateReport = TRUE,
  fun.AddDeployCol = FALSE
)

Arguments

fun.myData.SiteID

Station/SiteID.

fun.myData.Type

data type is "QC".

fun.myData.DateRange.Start

Start date for requested data. Format = YYYY-MM-DD.

fun.myData.DateRange.End

End date for requested data. Format = YYYY-MM-DD.

fun.myDir.import

Directory for import data. Default is current working directory.

fun.myDir.export

Directory for export data. Default is current working directory.

fun.myReport.format

Report format (docx or html). Default is specified in config.R (docx). Can be customized in config.R; ContData.env$myReport.Format.

fun.myReport.Dir

Report (rmd) template folder. Default is the package rmd folder. Can be customized in config.R; ContData.env$myReport.Dir.

fun.CreateReport

Boolean parameter to create reports or not. Default = TRUE.

fun.AddDeployCol

Boolean for adding column name. Default = FALSE. Can be customized in config.R; ContData.env$myName.LoggerDeployment.

Value

Returns a csv file to specified directory with QC flags.

Examples

#Not intended to be accessed indepedant of function ContDataQC().