Skip to content

Commit

Permalink
Update DataDiscoveryRetrieval.R
Browse files Browse the repository at this point in the history
update state code list
  • Loading branch information
hillarymarler committed Feb 22, 2024
1 parent d068380 commit c8b4904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/DataDiscoveryRetrieval.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ TADA_DataRetrieval <- function(startDate = "null",
if (nrow(statecodes_sub) == 0) {
stop("State code is not valid. Check FIPS state/territory abbreviations.")
}
if (length(statecode) > 1) {
WQPquery <- c(WQPquery, statecode = statecd)
if (length(statecode) >= 1) {
WQPquery <- c(WQPquery, statecode = list(statecd))
}
}

Expand Down

0 comments on commit c8b4904

Please sign in to comment.