View source: R/insert_concepts.R
insert_concepts | R Documentation |
Insert new taxonomic concepts by using accepted names. A previous use of the name in the taxonomy will retrieve an error message. Names that are new for the database will be inserted in the main list of names.
insert_concepts(conn, ...)
## S3 method for class 'PostgreSQLConnection'
insert_concepts(
conn,
taxonomy,
schema = "plant_taxonomy",
df,
clean = TRUE,
eval = TRUE,
...
)
conn |
A database connection provided by |
... |
Further arguments passed among methods. |
taxonomy |
Character value with the name of the taxonomy in the database. |
schema |
Character value indicating the name of the schema containing all taxonomic tables in the database. |
df |
A data frame with new names and related information. Two columns are mandatory, namely usage_name and author_name, both as character vectors. Further important columns are rank (taxonomic rank), parent_id (concept ID of the parent taxon), and view_key (bibtexkey of the reference used as taxon view). |
clean |
A logical value indicating cleaning of characters. |
eval |
A logical value indicating whether the produced SQL commands should be sent to the database or not. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.