Learn R Programming

⚠️There's a newer version (16.03) of this package.Take me there.

RObsDat (version 15.08)

Data Management for Hydrology and Beyond Using the Observations Data Model

Description

Data management in hydrology and other fields is facilitated with functions to enter and modify data in a database according to the Observations Data Model (ODM) standard by CUASHI (Consortium of Universities for the Advancement of Hydrologic Science). While this data model has been developed in hydrology, it is also useful for other fields. RObsDat helps in the setup of the database within one of the free database systems MariaDB, PostgreSQL or SQLite. It imports the controlled water vocabulary from the CUASHI web service and provides a smart interface between the analyst and the database: Already existing data entries are detected and duplicates avoided. The data import function converts different data table designs to make import simple. Cleaning and modifications of data are handled with a simple version control system. Variable and location names are treated in a user friendly way, accepting and processing multiple versions. When querying data from the database, it is stored in a spacetime objects within R for subsequent processing.

Copy Link

Version

Install

install.packages('RObsDat')

Monthly Downloads

4

Version

15.08

License

GPL

Maintainer

Dominik Reusser

Last Published

August 3rd, 2015

Functions in RObsDat (15.08)

RObsDat-package

R-Package to the observations Data Model from CUAHSI
odm.close

Open standard SQLite database delivered with the package and close existing connection to observations database.
addUnits

Extend controlled vocabulary for units.
reload

Internal functions: helping to do things
Synonym transfer functions

Transfer synonyms
addCV

Extend controlled vocabularies
expandVar

Internal: make sure meta data information can be processed in a flexible way.
addVariable

Add an entry to the variables table
addISOMetadata

Functions to provide reference to data sources
addQualityControlLevel

Add Quality metadata vocabulary
getDataValues

Retrieve data from the observations database
addSpatialReferences

Add spatial reference system
addDataValues

Add, delete or modify data to the observations database
assembleDataWhereClause

Internal functions to generate a where clause for access to the DataValues table.
check.version

Internal function: check if database connection is present and database has correct version.
addSynonym

Add a synonym for one of the entries in any meta data table
getMetadata

Get information about meta data
addOffsetType

Add detail information about Offset.
inherited_stfdf-class

Internal: Class inherited stfdf
odm1_1-class

Classes "odm1_1" and "odm1_1Ver"
chr2date

Internal: Convert character to date object and guess time zone
addSite

Add detail information about the observation site