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

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/addSynonym.R

Description

For more convenience while importing data, synonyms for existing entries can be handled by the package. This command allows you to add a synonym. Existing synonyms are then used to match the right record when searching and importing data.

Usage

1
addSynonym(table, phrase, id)

Arguments

table

Name of the table, in which an entry exists.

phrase

The synonym.

id

Unique ID of the record.

Details

Do you need more? Let me know (see package maintainer).

Value

nothing returned

Author(s)

Dominik Reusser

See Also

getID, exportSynonyms

Examples

1
2
3
4
5
6
7
8
#connect to standard database
getDefaultDB()
#add data
addSite(Code="10109000", Name="LOGAN RIVER ABOVE STATE DAM, NEAR LOGAN,UT", 
	x=-100.47, y= 45.32, LatLongDatum="WGS84", Elevation="1432", 
	VerticalDatum="NAVD88", PositionAccuracy=100, Stat="Utah")
theID <- getID(table="Site", "Logan")
addSynonym(table="Site", phrase="logan dam", id=theID)

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