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
)
Station/SiteID.
data type is "QC".
Start date for requested data. Format = YYYY-MM-DD.
End date for requested data. Format = YYYY-MM-DD.
Directory for import data. Default is current working directory.
Directory for export data. Default is current working directory.
Report format (docx or html). Default is specified in config.R (docx). Can be customized in config.R; ContData.env$myReport.Format.
Report (rmd) template folder. Default is the package rmd folder. Can be customized in config.R; ContData.env$myReport.Dir.
Boolean parameter to create reports or not. Default = TRUE.
Boolean for adding column name. Default = FALSE. Can be customized in config.R; ContData.env$myName.LoggerDeployment.
Returns a csv file to specified directory with QC flags.
#Not intended to be accessed indepedant of function ContDataQC().