Ad-hoc function for importing Postgres tables into objects of class taxlist.
This function has been modified to a new 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 29 30 31 32 33 34 35 36 37 | db2taxlist(conn, ...)
## S3 method for class 'PostgreSQLConnection'
db2taxlist(
conn,
taxon_names,
taxon_relations,
taxon_traits,
taxon_levels,
taxon_views,
names2concepts,
subset_levels = TRUE,
as_list = FALSE,
...
)
swea_tax(
conn,
taxon_names = c("tax_commons", "taxonNames"),
taxon_relations = c("swea_dataveg", "taxonRelations"),
taxon_traits = c("swea_dataveg", "taxonTraits"),
taxon_views = c("bib_references", "main_table"),
taxon_levels = c("tax_commons", "taxonLevels"),
names2concepts = c("swea_dataveg", "names2concepts"),
...
)
sam_tax(
conn,
taxon_names = c("tax_commons", "taxonNames"),
taxon_relations = c("sudamerica", "taxonRelations"),
taxon_traits = c("sudamerica", "taxonTraits"),
taxon_views = c("bib_references", "main_table"),
taxon_levels = c("tax_commons", "taxonLevels"),
names2concepts = c("sudamerica", "names2concepts"),
...
)
|
conn |
A database connection provided by |
... |
Further arguments passed among methods. In the two wrappers the
arguments are passed to |
taxon_names, taxon_relations, taxon_traits, taxon_views |
Character vectors indicating the name of the schema and the table containing the information for the respective slots. |
taxon_levels, names2concepts |
Character vectors indicating the name of schema and table indicating the taxonomic ranks and the correspondence of names to taxonomic concepts. |
subset_levels |
Logical value indicating whether taxonomic ranks should be restricted to the used ones or all ranks available in the database. |
as_list |
Logical value indicating whether the output should be a list or a taxlist object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.