new_taxonomy | R Documentation |
Create a new schema in a connected database containing a taxonomic list from a taxlist object.
If 'obj' is missing an empty database will be created. You can than use
append_taxonomy()
to insert a taxonomy in the empty database.
new_taxonomy(conn, obj, ...)
## S4 method for signature 'PostgreSQLConnection,missing'
new_taxonomy(
conn,
taxonomy,
schema,
schema_refs,
add_attributes,
add_to_names,
...
)
## S4 method for signature 'PostgreSQLConnection,taxlist'
new_taxonomy(conn, obj, ...)
conn |
A PostgreSQLConnection connecting to a database, where the new list will be stored. |
obj |
A taxlist object containing the new database. |
... |
Further arguments passed among methods (not in use). |
taxonomy |
A character value indicating the name (ID) of the new taxonomy in the database. |
schema |
A character value with the name of the new schema containing the taxonomic list. |
schema_refs |
A character value with the name of the new schema containing the references used as taxon views. It is recommended to have a separated schema for the references, especially if the views are formated as a BibTeX database (lib_df object). |
add_attributes |
A data frame used to add further columns into the table
taxon_attributes in the database. The data frame has three mandatory
columns, name, type (type of variable, which may include
constraints) and comment. See |
add_to_names |
A data frame used to add further columns into the table
taxon_names in the database. See details for argument
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.