Skip to content
Snippets Groups Projects
Commit b5a9d6cc authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Redundent code.

parent 34403cc8
No related branches found
No related tags found
1 merge request!154Redundent code.
......@@ -62,11 +62,6 @@ importWQP <- function(obs_url, zip=FALSE, tz=""){
numToBeReturned <- as.numeric(headerInfo["Total-Result-Count"])
if(headerInfo['Total-Result-Count'] == "0"){
warning("No data returned")
return(data.frame())
}
if(is.na(numToBeReturned) | numToBeReturned == 0){
for(i in grep("Warning",names(headerInfo))){
warning(headerInfo[i])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment