rr_publisher_continent: Get Publisher Policy by Publisher's Continent

Description Usage Arguments Details Value Examples

View source: R/rr_publisher_continent.R

Description

Retrieve publisher's policy based on publisher's continent. This function does not work for unclassified or international publishers.

Usage

1
2
3
4
5
rr_publisher_continent(
  continent = c("Africa", "Antarctica", "Asia", "Australasia", "Caribbean",
    "Central America", "Europe", "North America", "Oceania", "South America"),
  key = NULL
)

Arguments

continent

[character(1+)]
one or a vector of strings in c("Africa", "Antarctica", "Asia", "Australasia", "Carribean", "Central America", "Europe", "North America", "Oceania", "South America")
the continent name to retrieve

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_continent(continent = "Caribbean")
rr_publisher_continent(continent = "Central America")
rr_publisher_continent(continent = c("Caribbean", "Central America"))

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