Fetch and Analyze Data from 'WaterML' and 'WaterOneFlow' Web Services

Lets you connect to any of the Consortium of Universities for the Advancement of Hydrologic Sciences, Inc. ('CUAHSI') Water Data Center 'WaterOneFlow' web services and read any 'WaterML' hydrological time series data file. To see list of available web services, see < http://hiscentral.cuahsi.org>. All versions of 'WaterML' (1.0, 1.1 and 2.0) and both types of the web service protocol ('SOAP' and 'REST') are supported. The package has six data download functions: GetServices(): show all public web services from the HIS Central Catalog. HISCentral_GetSites() and HISCentral_GetSeriesCatalog(): search for sites or time series from the HIS Central catalog based on geographic bounding box, server, or keyword. GetVariables(): Show a data.frame with all variables on the server. GetSites(): Show a data.frame with all sites on the server. GetSiteInfo(): Show what variables, methods and quality control levels are available at the specific site. GetValues(): Given a site code, variable code, start time and end time, fetch a data.frame of all the observation time series data values. The GetValues() function can also parse 'WaterML' data from a custom URL or from a local file. The package also has five data upload functions: AddSites(), AddVariables(), AddMethods(), AddSources(), and AddValues(). These functions can be used for uploading data to a 'HydroServer Lite' Observations Data Model ('ODM') database via the 'JSON' data upload web service interface.


waterml

R package for getting and analyzing data from any WaterOneFlow web service on any Hydroserver.

The WaterML R package provides access to the Consortium of Universities for Advancement of Hydrologic Science (CUAHSI) Hydrologic Information System (HIS) HydroServers as a means for storing and managing data. Using the WaterML R package, the user can retrieve and analyze data from HydroServers of multiple organizations that are listed in the CUAHSI Water Data Center catalog (http://hiscentral.cuahsi.org). The package provides support for four core web methods defined by the HydroServer WaterOneFlow web services specification. The WaterML R package supports reading data from WaterML version 1.0, 1.1 and 2.0, accessing the WaterOneFlow 1.0 and 1.1 SOAP web services, and retrieving data from custom WaterML REST web services or from a local WaterML file. The package is published on CRAN on http://cran.r-project.org/web/packages/WaterML . Any R user can install it using the “install packages” option in R.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("WaterML")

1.7.1 by Jiri Kadlec, 3 years ago


https://github.com/jirikadlec2/waterml


Browse source code at https://github.com/cran/WaterML


Authors: Jiri Kadlec [aut, cre]


Documentation:   PDF Manual  


Task views: Hydrological Data and Modeling


MIT + file LICENSE license


Imports stats, XML, RJSONIO, httr

Suggests knitr


See at CRAN