Learn R Programming

RObsDat (version 16.03)

addUnits: Extend controlled vocabulary for units.

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

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

See Also

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

Examples

Run this code
getDefaultDB()
#add data
addUnits(Name="decisiemens per meter", Type="Electrical Conductivity", Abbreviation="dS/m")
getMetadata("Units", Name="per meter")

Run the code above in your browser using DataLab