knitr::opts_chunk$set(
    comment = "#>",
    collapse = TRUE,
    warning = FALSE,
    message = FALSE
)

Get metadata on CAS datasets from different occurrence data providers

setup

library("dplyr")
library("rgbif")

Dataset keys for CAS

GBIF

x <- rgbif::datasets(query = "CAS")
dat <- x$data[grep("^CAS", x$data$title), ]

the keys

dat$key

in context

dat %>% 
  select(title, key, doi)

the CAS dataset identifiers are also included in this package, see ?gbif_datasets

iDigBio

There's no easy way to get iDigBio dataset identifers from their API, so we've included a dataset in the package with the identifiers for each dataset - some datasets have many identifiers.

idigbio_recordsets

just botany

idigbio_recordsets$botany


ropenscilabs/spplit documentation built on Sept. 29, 2020, 3:05 a.m.