Description Usage Arguments Value Examples
View source: R/EPDr-list_functions.R
This function looks into the database and returns combined
information in the P_VARS and P_GROUP tables (see documentation
of the EPD:
http://www.europeanpollendatabase.net/data/downloads/image/pollen-database-manual-20071011.doc).
The function allows to restrict the list to taxa in an specific
group, using parameter group_id
along with a valid connection
to the database.
1 | list_taxa(connection, group_id = NULL)
|
connection |
PostgreSQLConnection. Object of class
|
group_id |
character. Character vector with group ids (four
character strings; see |
data.frame The function returns a data frame with five
columns: var_
, varname
, varcode
, mhvar
,
and groupid
.
"var_ is" the taxa identification number in the database.
"varname" is the taxa name.
"varcode" is the short taxa name.
"mhvar" is the identification number of the higher taxonomical level.
"groupid" is the identification number of the group that the taxa belongs to.
1 2 3 4 5 6 7 | ## Not run:
epd.connection <- connect_to_epd(host = "localhost", database = "epd",
user = "epdr", password = "epdrpw")
list_taxa(epd.connection, "HERB")
list_taxa(epd.connection, c("HERB", "TRSH"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.