Learn R Programming

SportMiner (version 0.1.0)

sm_set_api_key: Set Scopus API Key

Description

Configures the Scopus API key for the current R session. The key can be provided directly or set via the SCOPUS_API_KEY environment variable.

Usage

sm_set_api_key(api_key = NULL)

Value

Invisible NULL. Called for side effects.

Arguments

api_key

Character string containing your Scopus API key. If NULL, the function will attempt to read from the SCOPUS_API_KEY environment variable.

Examples

Run this code
if (FALSE) {
# Requires Scopus API key
sm_set_api_key("your_api_key_here")
}

Run the code above in your browser using DataLab