merge_names: Merge names across data sets

Description Usage Arguments

Description

When completing authors names in common names tables, duplicated entries may emerge. To merge incomplete entry with a complete one, the replacement have to be done across all data sets (vegetation-plot databases).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
merge_names(object, ...)

## S4 method for signature 'PostgreSQLConnection'
merge_names(
  object,
  new_id,
  old_id,
  taxon_names = c("tax_commons", "taxonNames"),
  schemas = c("swea_dataveg", "sudamerica"),
  ...
)

Arguments

object

A database connection established by dbConnect().

...

Further arguments passed among methods.

new_id

Integer value, the persisting name id ('TaxonUsageID').

old_id

Integer value, the name id ('TaxonUsageID') to be replaced.

taxon_names

Character vector indicating the name of schema and table containing taxon names.

schemas

Character vector indicating the schemas containing the respective databases sharing taxon names.


kamapu/vegtables2 documentation built on July 8, 2021, 7:57 a.m.