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 22 23 24 25 26 27 28 | insert_concept(conn, ...)
## S3 method for class 'PostgreSQLConnection'
insert_concept(
conn,
taxon_names,
taxon_relations,
names2concepts,
taxon_views,
taxon_levels,
df,
clean = TRUE,
...
)
insert_concept_swea(conn, ...)
## S3 method for class 'PostgreSQLConnection'
insert_concept_swea(
conn,
taxon_names = c("tax_commons", "taxonNames"),
taxon_relations = c("swea_dataveg", "taxonRelations"),
names2concepts = c("swea_dataveg", "names2concepts"),
taxon_views = c("bib_references", "main_table"),
taxon_levels = c("tax_commons", "taxonLevels"),
df,
...
)
|
conn |
A database connection provided by |
... |
Further arguments passed among methods. |
taxon_names, taxon_relations, names2concepts, taxon_views, taxon_levels |
Character vectors indicating the name of the respective schemas and tables in database. |
df |
A data frame with new names and related information (including taxon concept ID). |
clean |
A logical value indicating cleaning of characters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.