rr_publisher_name: Get Publisher Policy by Publisher Name

Description Usage Arguments Details Value Examples

View source: R/rr_publisher_name.R

Description

Use SHERPA/RoMEO API to retrieve a specific publisher policies on manuscript archival based on matching the name of the publishers.

Usage

1
rr_publisher_name(name, qtype = c("all", "any", "exact"), key = NULL)

Arguments

name

[character(1+)]
One or a vector of query string(s) to search publisher name

qtype

[character(1)]
in c("all", "any", "exact") define the type of matching:

  • all means that all strings in name must appear in any order or location

  • any means that at least one of the strings in name must appear

  • exact means that the name string must appear in the publisher's name or its alias.

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 with the following columns:

Examples

1
2
3
rr_publisher_name(name = "Optical Society", qtype = "all")
rr_publisher_name(name = "Swiss Chemistry", qtype = "any")
rr_publisher_name(name = "Swiss Chemistry", qtype = "exact")

rromeo documentation built on March 13, 2020, 9:08 a.m.