Description Usage Arguments Details Value
typdb.data.merge
merges data from different TypDB
datasets based on the overlapping language codes (see language_ids).
1 | typdb.data.merge(..., result = c("data", "mapping", "index"))
|
... |
Two or more TypDB dataset names |
result |
An option controlling what to return (see details) |
The result
parameter controls what the function will return.
If the value of this parameter is "data"
(default), the merged data
frame is returned. If result
is "mapping"
, the language
mappings required to perform the merge are returned instead (this is a
relevant subset of language_ids data frame). Finally, if result
is "index"
, the result is a merged data frame consisting of row
numbers of the datasets that are merged together. This is useful in trackign
down any language code mismatches.
The function will produce a warning if any language codes are duplicated, missing, or if there is an ambigues match. Furthermore, the column names of the resulting data frame will be disambiguated if nessesary.
A data frame that is either the merged datasets, the language code
mapping table or the join table indicating which rows will be joined
(depending on result
parameter)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.