idf_collections: Collections

View source: R/idf_collections.R

idf_collectionsR Documentation

Collections

Description

retrieves a list of all available collections

Usage

idf_collections(ids = NULL, names = NULL, providers = NULL, ...)

Arguments

ids

(character) one or more identifiers. optional.

names

(character) one or more names. optional

providers

(character) a provider prefix. optional

...

Curl options passed to HttpClient

Details

If no parameters passed, you get all collections.

When more than 1 string passed to ids, names, or providers, we use async http requests

Value

data.frame or list, depending on what's passed to the function

Examples

## Not run: 
(x <- idf_collections())

idf_collections(ids = "MIR:00000008")
ids <- c("MIR:00000249", "MIR:00000307", "MIR:00000308", "MIR:00000312", 
  "MIR:00000313", "MIR:00000315")
idf_collections(ids = ids)
idf_collections(names = "pdb")
idf_collections(names = "pdb")
idf_collections(providers = "pdb")
idf_collections(providers = "pdb")

## End(Not run)

ropenscilabs/identifires documentation built on May 14, 2022, 8:04 p.m.