R语言【paleobioDB】——pbdb_taxa():获得多个类群名的基本信息

(88) 2024-07-15 12:01:01

 Package paleobioDB version 0.7.0

paleobioDB 包在2020年已经停止更新,该包依赖PBDB v1 API。

可以选择在Index of /src/contrib/Archive/paleobioDB (r-project.org)下载安装包后,执行本地安装。


Usage

pbdb_taxa (...)

Arguments

 参数【...】:可通过 API 调用的参数。所有可用参数详见 PBDB Data Service: Lists of taxa。


Value

返回一组类群的基本信息,一个数据帧。


Example

library(paleobioDB) library(RCurl) options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))) pbdb_taxa (name="Canidae", vocab="pbdb", show=c("attr", "app", "size", "nav")) taxon_no orig_no record_type rank taxon_name common_name 1 41189 41189 taxon family Canidae canid attribution status parent_no reference_no is_extant 1 Fischer 1817 belongs to 36905 4783 1 firstapp_ea firstapp_la lastapp_ea lastapp_la size extant_size 1 48.60000 40.40000 0.01170 0.00000 429 126 parent_name parent_rank kingdom_no kingdom phylum_no phylum 1 Carnivora order 67091 Animalia 33815 Chordata phylum_count class_no class class_count order_no order 1 0 36651 Mammalia 0 36905 Carnivora order_count family_no family family_count genus_count 1 0 41189 Canidae 0 76

Page

function (...) { l <- list(...) .pbdb_query("taxa/list", query = l) } 

THE END

发表回复