50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


rscopus (version 0.1.2)

get_api_key: Find API Key for Elsevier

Description

Determines if option(elsevier_api_key) or option(elsevier_api_key_filename) is set. If not, it stops and returns an error. If so, returns the value.

Usage

get_api_key(api_key = NULL, error = TRUE)

Arguments

api_key
Elsvier API key
error
Should the function error if api_key = NULL?

Value

API key

Examples

Run this code
get_api_key(error = FALSE)

Run the code above in your browser using DataLab