Insert aliases

Share:

Description

Insert aliases

Usage

1
2
insertAliases(db, aliasType, aliases, aliasSource = "",
  aliasDescription = "")

Arguments

db

Database object created by initializeDb

aliasType

Name of the alias

aliases

A vector of aliases with names giving the primary identifiers

aliasSource

Optional alias metadata: source

aliasDescription

Optional alias metadata: description

Value

An updated database object db

Examples

1
2
3
4
5
  db <- initializeDb("", "My Dataset")
  aliases <- c("aliasA", "aliasB", "aliasC")
  names(aliases) <- c("A", "B", "C")
  db <- insertAliases(db, "testalias", aliases)
  closeDb(db)