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

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)

Value

Returns a data frame with the following columns:

  • romeoid [integer(1)]
    the internal index of the publisher in the SHERPA/RoMEO database

  • publisher [character(1)]
    the name of the publisher

  • alias [character(1)]
    if applicable an alternative name of the publisher or the name of the specific publishing branch

  • romeocolour [character(1)]
    a colour assigned by the database that reflects the default policies of the publisher

  • preprint [character(1)]
    is the preprint (not reviewed) archivable?

  • postprint [character(1)]
    is the postprint (reviewed but not formatted) archivable?

  • pdf [character(1)]
    is the publisher's version (reviewed and formatted) archivable?

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.

Examples

# \donttest{ rr_publisher_continent(continent = "Caribbean")
#> Error: The API endpoint could not be reached. Please try again later.
rr_publisher_continent(continent = "Central America")
#> Error: The API endpoint could not be reached. Please try again later.
rr_publisher_continent(continent = c("Caribbean", "Central America"))
#> Error: The API endpoint could not be reached. Please try again later.
# }