Description Usage Arguments Author(s)
Insert synonyms to existing taxa in a PostgreSQL version of taxlist objects.
This function is updating the tables taxonNames
and names2concepts
in
the PostgreSQL version of the database.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | insert_synonym(conn, ...)
## S3 method for class 'PostgreSQLConnection'
insert_synonym(
conn,
taxon_names,
taxon_relations,
names2concepts,
df,
clean = TRUE,
...
)
insert_synonym_swea(
conn,
taxon_names = c("tax_commons", "taxonNames"),
taxon_relations = c("swea_dataveg", "taxonRelations"),
names2concepts = c("swea_dataveg", "names2concepts"),
df,
...
)
|
conn |
A database connection provided by |
... |
Further arguments passed among methods. |
taxon_names |
A character vector of length 2 indicating the name of the respecitve schema and table in Postgres. |
taxon_relations |
taxon_names A character vector of length 2 indicating the name of the respecitve schema and table in Postgres. |
names2concepts |
taxon_names A character vector of length 2 indicating the name of the respecitve schema and table in Postgres. |
df |
A data frame with new names and related information (including taxon concept ID). |
clean |
A logical value, whether strings in input 'df' should be cleaned
or not (see |
Miguel Alvarez kamapu78@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.