Kevin-M-Smith/dataRetrieval — pull request #1 by Kevin-M-Smith (2014-11-04 00:28:23+00:00)
Title: Catch <values> without <value> error.

This catches responses that return without associated .

Example Below:

url = "http://waterservices.usgs.gov/nwis/iv/?format=waterml,1.1&huc=02&startDT=2014-10-11T00:00:00.000&endDT=2014-10-11T00:30:00.000¶meterCd=00060,00065"
data <- getWaterML1Data(url)

WaterML Response (chunk)

MANOR KILL AT WEST CONESVILLE NEAR GILBOA NY
01350080

42.37694444
-74.4130556

ST
02020005
36
36095

00065
Gage height, ft
Gage height, feet
Derived Value

ft

-999999.0

[backup from well]

0.85
0.85
0.85

P
Provisional data subject to revision.