-
Notifications
You must be signed in to change notification settings - Fork 0
/
DataQC.R
21 lines (17 loc) · 868 Bytes
/
DataQC.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# DataQC.R
#' Get biological data using the ConfigObject supplied
#' @param BaseURL The URL of the DataMapper /GetBioData function
#' @param ConfigObject The JSON configuration object that defines how to connect to the database
#' @param SurveyName The name of the survey to return, the default value is to return all surveys
#' @param Species The three letter code of the species data to return, the default value is to return all species
#' @get /GetLengthWeightPlot
#' @png
GetLengthWeightPlot <- function(BaseURL, ConfigObject, SurveyName, Species){
if (!require(DaveQCTest)){
install.packages('/usr/DaveQCTest_0.1.0.tar.gz', repos = NULL)
if (!require(DaveQCTest)){
return("Error- could not install DaveQCTest")
}
}
LengthWeightPlot(BaseURL=BaseURL, ConfigObject = ConfigObject, SurveyName = SurveyName, Species = Species)
}