Description Usage Arguments Value get_chron .get_chron .get_agebound .get_agebasis .get_rational .get_alsegs .get_panldpt .get_synevent .get_event Examples
View source: R/EPDr-get_functions.R
Functions in this family retrieves information relative to the
chronologies used to calculate samples ages for a particular
entity. The main function (get_chron
) requires
a valid connection to the database and the entity ID for the entity
of interest. All other functions (starting with a dot [.]) use
different arguments depending on the piece of information they retrieve.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | get_chron(e_, connection)
.get_chron(e_, connection)
.get_agebound(e_, connection)
.get_agebasis(e_, connection)
.get_rational(rcode, connection)
.get_alsegs(e_, connection)
.get_panldpt(e_, connection)
.get_synevent(e_, connection)
.get_event(event_, connection)
|
e_ |
numeric Value indicating the entity number (e_) of the database that want to be queried. |
connection |
PostgreSQLConnection Object of class
|
rcode |
character Three letter code for the rational. |
event_ |
numeric Value indicating the event number (event_) of the database of the requested event. |
chron-class
object. This is an EPDr object
with information from different tables. See documentation of the EPD:
http://www.europeanpollendatabase.net/data/downloads/image/pollen-database-manual-20071011.doc).
This function returns a chron-class
object with several
information from the rest of the functions for a particular entity.
This functions returns a data.frame with information in in the CHRON table for the specified entity. This corresponds with chronologies for that entity.
This functions returns a data.frame with information in in the AGEBOUND table for the chronologies in that entity. This corresponds with age limits for that entity calculated according to each chronology.
This functions returns a data.frame with information in in the AGEBASIS table for the specified entity. This corresponds with the depth and C14 data used to calibrate the age-depth model in each chronology.
This functions returns a data.frame with information in in the RATIONAL table for the specified entity. This corresponds with the rational to use each sample in the AGEBASIS table to calibrate the age-depth model.
This functions returns a data.frame with information in in the ALSEGS table for the specified entity. This corresponds with segments of annual laminations in the entity.
This functions returns a data.frame with information in in the P_ANLDPT table for the specified entity. This corresponds with details on the lamination for each segment on the ALSEGS table for each entity.
This functions returns a data.frame with information in in the SYNEVENT table for the specified entity. This corresponds with the geological events that affect that entity.
This functions returns a data.frame with information in in the EVENT table for the specified entity. This corresponds with details on the geological event specified for that entity in the SYNEVENT table.
1 2 3 4 5 6 7 | ## Not run:
epd.connection <- connect_to_epd(host = "localhost", database = "epd",
user = "epdr", password = "epdrpw")
chron.400 <- get_chron(400, epd.connection)
chron.400
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.