dataRetrieval merge requestshttps://code.usgs.gov/water/dataRetrieval/-/merge_requests2014-12-16T21:52:07Zhttps://code.usgs.gov/water/dataRetrieval/-/merge_requests/60Final CRAN 2.1 updates.2014-12-16T21:52:07ZLaura A DeCiccoFinal CRAN 2.1 updates.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/59Error handling.2014-12-16T18:38:08ZLaura A DeCiccoError handling.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/58Improving error handling.2014-12-13T21:33:39ZLaura A DeCiccoImproving error handling.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/55Change from lazy loading to data.2014-12-12T17:16:03ZLaura A DeCiccoChange from lazy loading to data.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/53Help file updates.2014-12-02T22:46:18ZLaura A DeCiccoHelp file updates.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/52Final updates for 2.0.12014-12-02T18:57:28ZLaura A DeCiccoFinal updates for 2.0.1https://code.usgs.gov/water/dataRetrieval/-/merge_requests/51Fixed multi-pcode WQP call bug.2014-12-02T17:57:10ZLaura A DeCiccoFixed multi-pcode WQP call bug.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/50UTC2014-12-02T14:33:33ZLaura A DeCiccoUTChttps://code.usgs.gov/water/dataRetrieval/-/merge_requests/49Remove obsolete functions.2014-11-26T19:14:32ZLaura A DeCiccoRemove obsolete functions.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/48siteInfo bug fixed in large WQP calls.2014-11-26T17:10:40ZLaura A DeCiccositeInfo bug fixed in large WQP calls.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/47Updating vignette.2014-11-25T23:07:33ZLaura A DeCiccoUpdating vignette.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/46Adding attributes to WQP requests.2014-11-25T21:53:49ZLaura A DeCiccoAdding attributes to WQP requests.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/45Mostly help file updates. Took out some attributes to the WaterML1 output.2014-11-25T14:54:30ZLaura A DeCiccoMostly help file updates. Took out some attributes to the WaterML1 output.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/44Re doing license with CC0.2014-11-21T19:09:18ZLaura A DeCiccoRe doing license with CC0.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/43Bumping up version number for development.2014-11-14T18:16:05ZLaura A DeCiccoBumping up version number for development.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/42Description title and readme.2014-11-13T20:32:29ZLaura A DeCiccoDescription title and readme.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/41Reducing example times even more.2014-11-13T17:09:02ZLaura A DeCiccoReducing example times even more.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/40Final CRAN updates.2014-11-13T16:41:00ZLaura A DeCiccoFinal CRAN updates.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/39Overhaul of function names. Move some functionality to EGRET.2014-11-13T13:08:00ZLaura A DeCiccoOverhaul of function names. Move some functionality to EGRET.https://code.usgs.gov/water/dataRetrieval/-/merge_requests/38Catch <values> without <value> error.2014-11-04T15:10:11ZLaura A DeCiccoCatch <values> without <value> error.*Created by: Kevin-M-Smith*
This catches responses that return <values> without associated <value>.
## Example:
### R call
``` R
url = "http://waterservices.usgs.gov/nwis/iv/?format=waterml,1.1&huc=02&startDT=2014-10-11T00:00:00.000&...*Created by: Kevin-M-Smith*
This catches responses that return <values> without associated <value>.
## Example:
### R call
``` R
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)
``` XML
<ns1:timeSeries xmlns:ns1="http://www.cuahsi.org/waterML/1.1/" name="USGS:01350080:00065:00011">
<ns1:sourceInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:SiteInfoType">
<ns1:siteName>MANOR KILL AT WEST CONESVILLE NEAR GILBOA NY</ns1:siteName>
<ns1:siteCode network="NWIS" agencyCode="USGS">01350080</ns1:siteCode>
<ns1:timeZoneInfo siteUsesDaylightSavingsTime="false">
<ns1:defaultTimeZone zoneOffset="-05:00" zoneAbbreviation="EST"/>
<ns1:daylightSavingsTimeZone zoneOffset="-04:00" zoneAbbreviation="EDT"/>
</ns1:timeZoneInfo>
<ns1:geoLocation>
<ns1:geogLocation xsi:type="ns1:LatLonPointType" srs="EPSG:4326">
<ns1:latitude>42.37694444</ns1:latitude>
<ns1:longitude>-74.4130556</ns1:longitude>
</ns1:geogLocation>
</ns1:geoLocation>
<ns1:siteProperty name="siteTypeCd">ST</ns1:siteProperty>
<ns1:siteProperty name="hucCd">02020005</ns1:siteProperty>
<ns1:siteProperty name="stateCd">36</ns1:siteProperty>
<ns1:siteProperty name="countyCd">36095</ns1:siteProperty>
</ns1:sourceInfo>
<ns1:variable ns1:oid="45807202">
<ns1:variableCode network="NWIS" vocabulary="NWIS:UnitValues" default="true" variableID="45807202">00065</ns1:variableCode>
<ns1:variableName>Gage height, ft</ns1:variableName>
<ns1:variableDescription>Gage height, feet</ns1:variableDescription>
<ns1:valueType>Derived Value</ns1:valueType>
<ns1:unit>
<ns1:unitCode>ft</ns1:unitCode>
</ns1:unit>
<ns1:options>
<ns1:option name="Statistic" optionCode="00011"/>
</ns1:options>
<ns1:noDataValue>-999999.0</ns1:noDataValue>
</ns1:variable>
<ns1:values>
<ns1:method methodID="1">
<ns1:methodDescription>[backup from well]</ns1:methodDescription>
</ns1:method>
</ns1:values>
<ns1:values>
<ns1:value qualifiers="P" dateTime="2014-10-11T00:00:00.000-05:00">0.85</ns1:value>
<ns1:value qualifiers="P" dateTime="2014-10-11T00:15:00.000-05:00">0.85</ns1:value>
<ns1:value qualifiers="P" dateTime="2014-10-11T00:30:00.000-05:00">0.85</ns1:value>
<ns1:qualifier qualifierID="0" ns1:network="NWIS" ns1:vocabulary="uv_rmk_cd">
<ns1:qualifierCode>P</ns1:qualifierCode>
<ns1:qualifierDescription>Provisional data subject to revision.</ns1:qualifierDescription>
</ns1:qualifier>
<ns1:method methodID="12">
<ns1:methodDescription/>
</ns1:method>
</ns1:values>
</ns1:timeSeries>
```