check_synonymes: Check Synonymes

Description Usage Arguments Details Value Author(s) References Examples

View source: R/check_synonymes.R

Description

Check synonyme table. Remove ambiguous mappings.

Usage

1
2
3
check_synonymes(synonymes, include.lowercase = TRUE, verbose = FALSE,
  sort = FALSE, self = FALSE, ignore.empty = FALSE,
  remove.ambiguous = TRUE)

Arguments

synonymes

synonymes data.frame with the self-explanatory fields 'name' and 'synonyme'.

include.lowercase

Include lowercase versions of the synonymes

verbose

verbose

sort

Sort synonymes

self

Ensure that each name is synonyme for itself (this may cause ambiguous mappings, use with care !)

ignore.empty

If name field is empty, accept the given synonyme as the final name.

remove.ambiguous

Remove ambiguous terms.

Details

Remove duplicated information. Ensure identical matches are included in synonyme list.

Value

Polished synonyme table

Author(s)

Leo Lahti [email protected]

References

See citation("bibliographica")

Examples

1
## Not run: s <- check_synonymes(synonymes)

rOpenGov/bibliographica documentation built on July 17, 2018, 8:20 a.m.