get_workers: Retrieves workers information

Description Usage Arguments Value Examples

View source: R/EPDr-get_functions.R

Description

This function retrieves details on the workers specified in different tables of the EPD, such as analyst of chronological and/or palynological samples, etc. The information comes from the WORKERS table.

Usage

1

Arguments

worker_

numeric Value indicating the worker identification number.

connection

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

Value

data.frame The function returns a data frame with all information in the WORKERS table for that particular worker id.

Examples

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

## End(Not run)

dinilu/EPDr documentation built on Aug. 22, 2019, 1:03 p.m.