idf_resources: Resources

View source: R/idf_resources.R

idf_resourcesR Documentation

Resources

Description

retrieves the list of all available resources

Usage

idf_resources(ids = NULL, ...)

Arguments

ids

(character) one or more identifiers. optional. when more than 1 passed, we use async http requests

...

Curl options passed to HttpClient

Details

if no parameters passed, gets all resources

Value

When ids passed, data.frame of the form :

  • id

  • accessurl

  • info

  • institution

  • location

  • official

  • resourceprefix

  • localid

  • resourceurl

When ids NOT passed, data.frame of the form :

  • urlPrefix

  • urlSuffix

  • urlResource

  • info

  • institution

  • location

  • example

  • official

  • obsolete

  • frameDeny

  • convertPrefix

  • resourcePrefix

  • _links

Examples

## Not run: 
x <- idf_resources()
idf_resources(ids = "MIR:00100675")
idf_resources(ids = c("MIR:00100675", "MIR:00100005"))

## End(Not run)

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