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.
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.