insert_collection | R Documentation |
A straight forward method to insert new collections in the specimens database. This will automatically create the respective specimens.
insert_collection(db, sf, bulk, ...)
## S4 method for signature 'PostgreSQLConnection,sf,integer'
insert_collection(db, sf, bulk, schema = "specimens", ...)
## S4 method for signature 'PostgreSQLConnection,sf,numeric'
insert_collection(db, sf, bulk, ...)
## S4 method for signature 'PostgreSQLConnection,sf,character'
insert_collection(db, sf, bulk, schema = "specimens", ...)
db |
Connections to the database as PostgreSQLConnection. |
sf |
An object of class sf to be appended into the table collections (schema specimens). |
bulk |
Either an integer or a character value indicating the ID or the name of the corresponding bulk, respectively. Note that you can insert new records to only one bulk at once. If you use a character value, the ID will be retrieved from the database (table projects, schema specimens). If the name is not in database, it will be considered as a new bulk and inserted accordingly. |
... |
Further arguments passed among methods. |
schema |
A character value with the names of the schema containing the specimens database. |
Miguel Alvarez kamapu@posteo.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.