orcid_df: Extract data.frames from orcid_doi searches

Description Usage Arguments Details Value Examples

View source: R/orcid_df.R

Description

This wraps the orcid_doi() function from rorcid and parses the results to return a data frame. Note that it drops results that are not found.

Usage

1
orcid_df(dois = NULL, start = NULL, rows = NULL, fuzzy = FALSE)

Arguments

dois

A vector of dois for use in orcid_doi.

start

(integer) Result number to start on. Keep in mind that pages start at 0. (rorcid documentation)

rows

(integer) Numer of results to return.

fuzzy

fuzzy (logical) Use fuzzy matching on input DOIs. Defaults to FALSE. If FALSE, we stick "digital-object-ids" before the DOI so that the search sent to ORCID is for that exact DOI. If TRUE, we use some regex to find the DOI.

Details

A convenience wrapper for the rorcid_doi function from rorcid. See the rorcid package https://github.com/ropensci/rorcid (from which the documentation is taken). The advantage of the function is simply that it returns a data.frame.

Value

A data frame

Examples

1
## Not run: orcid_df(dois)

poldham/oldhammisc documentation built on May 25, 2019, 11:23 a.m.