query_sb_doi: Query SB for specific DOI (Digital Object Identifier)

View source: R/query_sb.R

query_sb_doiR Documentation

Query SB for specific DOI (Digital Object Identifier)

Description

Queries for ScienceBase items with a specific DOI identifier. In ScienceBase, these are stored as additional unique identifiers.

Usage

query_sb_doi(doi, ..., limit = 20)

Arguments

doi

DOI to search for as character

...

Additional parameters are passed on to GET

limit

Maximum number of returned items. Will do paging to retrieve results when limit is over 1000. Use with caution, queries 10k results are slow.

Value

A list of sbitem objects. List of length 0 means no matches were found.

Examples


#Two example DOI-specific queries
query_sb_doi('10.5066/F7M043G7')

query_sb_doi('10.5066/F7Z60M35')


USGS-R/sbtools documentation built on June 1, 2024, 9:47 p.m.