whatWQPsites - dropping stations
Created by: ssifleet
I just noticed an issue with the whatWQPsites (and also readWQPdata) function.
It seems some of the stations are dropped.
Example: stations<-whatWQPsites(startDate = "06-10-2015") Warning messages: 1: In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : EOF within quoted string 2: In whatWQPsites(startDate = "06-10-2015") : 2570 sites were expected, 1177 were returned
This query when applied through the WQP UI returns all 2570 sites.
Also the query data<-readWQPdata(startDate = "06-10-2015") returns 54,289 records for 2570 unique sites (MonitoringLocationIdentifier) however the same warning above is thrown and the attributes(data)$siteInfo data frame has only 1177 unique sites (MonitoringLocationIdentifier)