R语言【paleobioDB】——pbdb_strata_auto():通过部分名称或前缀返回多个地质地层的基本信息

  Package paleobioDB version 0.7.0

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

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


Usage

pbdb_strata_auto (...)

Arguments

参数【...】:可通过 API 调用的参数。所有可用参数详见 PBDB Data Service: Auto-completion for geological strata。


Value

一个 DataFrame,其中包含与我们的字母相匹配的地层信息。


Example

library(paleobioDB)
library(RCurl)
 
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")))

pbdb_strata_auto (name= "Pin", vocab="pbdb") 
     record_type                 name      rank n_colls n_occs
1:1      stratum                  Pin formation      14     84
1:2      stratum                 Piña    member       1      1
1:3      stratum              Pinczow formation       9    251
1:4      stratum    Pińczów Limestone formation       2      5
1:5      stratum              Pindari formation       2      2
1:6      stratum              Pindiga formation      25    126
1:7      stratum       Pindiro Shales    member       6     29
1:8      stratum          Pine Barren    member      20    184
1:9      stratum     Pine Barren Sand    member       1      1
1:10     stratum            Pine Bush formation       2      7
1:11     stratum            Pine Hall formation       1      6
1:12     stratum            Pine Hill formation       1      9
1:13     stratum    Pine Island Shale formation       7     13
1:14     stratum           Pine Point formation       6     67
1:15     stratum          Pine Shadow    member      37    560
1:16     stratum            Pinecrest formation       1      8
1:17     stratum            Pinecrest    member      38    372
1:18     stratum       Pinecrest Beds    member       7    142
1:19     stratum               Pineda     group       2     45
1:20     stratum               Pinery    member      38    539
1:21     stratum            Pinesburg    member       2     39
1:22     stratum              Pinetop formation       1     10
1:23     stratum          Piney Point formation       9    100
1:24     stratum            Ping Chau formation      12     20
1:25     stratum         Pingdingshan     group       1      1
1:26     stratum           Pingdiquan formation       1     14
1:27     stratum            Pingliang formation      18     64
1:28     stratum             Pingling formation      29     59
1:29     stratum             Pingyiqu formation       1     13
1:30     stratum Pinilla de los Moros formation      10     35
1:31     stratum               Pinjor formation      15     58
1:32     stratum              Pinjore    member       1      1
1:33     stratum        Pinnacle Sand formation       1      1
1:34     stratum         Pinnick Coal    member       1     28
1:35     stratum             Pinodiga formation       1     19
1:36     stratum          Pinole Tuff formation       3     17
1:37     stratum                Pinos formation       3      8
1:38     stratum             Pinturas formation      13    196
2        stratum  Pinyon Conglomerate formation       1      3

Page

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

你可能感兴趣的:(paleobioDB,r语言,开发语言)