Description Details Author(s) References See Also Examples
We have developed paleobioDB, an R-package designed to make easy and flexible queries of the Paleobiology Database, as well as to visualize and download selected data. This package will make it easy to access paleontological data in a way that should allow those data to be further analyzed, including via packages and libraries available in R.
We programmed two different groups of functions. First, we developed a set of general and flexible functions to wrap the PaleobioDB API. These functions connect R with each of the endpoints of the PaleobioDB API. Second, based on these base functions, we programmed a second set of functions intended to explore and visualize the fossil occurrences in their geographic, temporal and taxonomic dimensions.
Package: | paleobioDB |
Type: | Package |
Version: | 0.4 |
Date: | 2015-07-16 |
License: | GPL-2 |
Sara Varela svarela@paleobiogeography.org
Javier Gonzalez javigzz@yahoo.es
Luciano Fabris Sgarbi luciano.f.sgarbi@gmail.com
Sara Varela, Javier Gonzalez-Hernandez, Luciano Fabris Sgarbi, Charles Marshall, Mark D. Uhen, Shanan Peters, Michael McClennen, 2014. paleobioDB: an R-package for downloading, visualizing and processing data from the Paleobiology Database (under review)
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 38 39 40 41 42 | ## Not run:
canidae<- pbdb_occurrences (limit="all", base_name="canidae",
interval="Quaternary", show=c("coords", "phylo", "ident"))
## to explore the number of subtaxa
pbdb_subtaxa (canidae)
## to explore the temporal resolution of the fossil records
pbdb_temporal_resolution (canidae)
## returns a dataframe and a plot with the temporal span
## of the species, genera, etc.
pbdb_temp_range (canidae, rank= "genus", names=FALSE)
## returns a dataframe and a plot showing the species, genera, etc.
richness across time
pbdb_richness (canidae, rank= "species",
temporal_extent= c (0,10), res= 1)
## returns a dataframe and a plot showing the evolutionary
and extinction rates across time
## evolutionary rates= evo_ext=1
pbdb_orig_ext (canidae, rank="species", temporal_extent=c(0, 10),
res=1, orig_ext=1)
## extinction rates= evo_ext=2
pbdb_orig_ext (canidae, rank="species", temporal_extent=c(0, 10),
res=1, orig_ext=2)
## maps the fossil occurrences
pbdb_map (canidae, main = "Canidae", pch= 19, cex=0.7)
## maps the sampling effort
pbdb_map_occur (canidae, res= 5)
## maps the species, genera, etc. richness
pbdb_map_richness (canidae, rank="species", res= 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.