addUnits: Extend controlled vocabulary for units.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/addUnits.R

Description

Add a term to the controlled vocabulary for units. The better way is to have CUAHSI add the term to the official vocabulary through their webpage: http://his.cuahsi.org/mastercvreg/

Usage

1
addUnits(Name, Type, Abbreviation)

Arguments

Name

Name of the unit. e.g. square meter

Type

Type of the unit. e.g. area

Abbreviation

SI abbreviation e.g. m^2

Value

Nothing returned

Author(s)

Dominik Reusser

See Also

updateCV to retrieve the vocabularies from the CUAHSI web service and update the database. getMetadata allows to query for meta data.

Examples

1
2
3
4
getDefaultDB()
#add data
addUnits(Name="decisiemens per meter", Type="Electrical Conductivity", Abbreviation="dS/m")
getMetadata("Units", Name="per meter")

RObsDat documentation built on May 29, 2017, 12:07 p.m.