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

Adding 'all' option for qw data.

parent eec7857b
No related branches found
No related tags found
1 merge request!76Taking out external call on check.
......@@ -45,7 +45,7 @@ constructNWISURL <- function(siteNumber,parameterCd="00060",startDate="",endDate
service <- match.arg(service, c("dv","uv","iv","qw","gwlevels","rating","peak","meas"))
if(any(!is.na(parameterCd))){
if(any(!is.na(parameterCd) & parameterCd != "all")){
pcodeCheck <- all(nchar(parameterCd) == 5) & all(!is.na(suppressWarnings(as.numeric(parameterCd))))
if(!pcodeCheck){
......
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