rr_journal_find: Find if journals are available in SHERPA/RoMEO

View source: R/rr_journal_find.R

rr_journal_findR Documentation

Find if journals are available in SHERPA/RoMEO

Description

Find if journals are available in SHERPA/RoMEO

Usage

rr_journal_find(name, qtype = c("exact", "contains", "starts"), key = NULL)

Arguments

name

[character(1+)]
one or several strings to match the titles of the journals

qtype

[character(1)]
in: * "exact" full title must be exactly to provided name, * "contains" the provided name must appear anywhere in the title of the journal, * "starts" the provided name must appear at the start of title of the journal.

key

[character(1)]
a character string containing the API key or NULL (see Details section on how to specify it)

Details

There are several ways to provide your API key. The best way to know about them is to refer to the vignette about "Setting Up Your API key" accessible with the following command: vignette("setting_up_api_key", package = "rromeo"). You can also use rr_auth that will use the provided key to store it as an environmental variable.

Value

Returns a data frame:

  • title [character(1)]
    the name of the journal

  • provided_issn [character(1)]
    the ISSN you provided in your query (might differ from the ISSN returned by the API)

  • issn [character(1)]
    the ISSN of the journal

Examples


rr_journal_find(name = "Biostatistics", qtype = "contains")



ropensci/rromeo documentation built on May 31, 2022, 10:46 p.m.