Learn R Programming

RObsDat (version 16.03)

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

99

Version

16.03

License

GPL

Maintainer

Last Published

March 31st, 2016

Functions in RObsDat (16.03)

addSynonym

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

Add an entry to the variables table
expandVar

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

Get information about meta data
addDataValues

Add, delete or modify data to the observations database
odm1_1-class

Classes "odm1_1" and "odm1_1Ver"
inherited_stfdf-class

Internal: Class inherited stfdf
RObsDat-package

R-Package to the observations Data Model from CUAHSI
addCV

Extend controlled vocabularies
addUnits

Extend controlled vocabulary for units.
reload

Internal functions: helping to do things
getDataValues

Retrieve data from the observations database
addISOMetadata

Functions to provide reference to data sources
addOffsetType

Add detail information about Offset.
addSpatialReferences

Add spatial reference system
odm.close

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

Internal: Convert character to date object and guess time zone
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.
Synonym transfer functions

Transfer synonyms
addQualityControlLevel

Add Quality metadata vocabulary
addSite

Add detail information about the observation site