list_taxagroups: List taxa groups in the EPD

Description Usage Arguments Value Examples

View source: R/EPDr-list_functions.R

Description

This function looks into the database and returns all information in the GROUPS table (see documentation of the EPD: http://www.europeanpollendatabase.net/data/downloads/image/pollen-database-manual-20071011.doc). This is useful if the user want to restrict searches for particular groups of particles in the palynological samples. For instance, if somebody is only interested in Algae. Because the function return the whole table, it only requires a valid connection to the database server.

Usage

1

Arguments

connection

PostgreSQLConnection. Object of class PostgreSQLConnection as returned by function connect_to_epd.

Value

data.frame The function returns a data frame with three columns: groupid, groupcode, and groupname.

Examples

1
2
3
4
5
6
## Not run: 
epd.connection <- connect_to_epd(host = "localhost", database = "epd",
                                 user = "epdr", password = "epdrpw")
list_taxagroups(epd.connection)

## End(Not run)

dinilu/EPDr documentation built on Jan. 31, 2018, 1:58 a.m.