Learn R Programming

ropensecretsapi (version 1.0.0)

SetAPIKey: Allows the user to set the OpenSecrets.org API key once thereby removing the need to pass it in for each function call in this package.

Description

Allows the user to set the OpenSecrets.org API key once thereby removing the need to pass it in for each function call in this package.

Usage

SetAPIKey(apiKey)

Arguments

apiKey
The OpenSecrets.org API key.

Examples

Run this code
SetAPIKey ("Example API Key")

Run the code above in your browser using DataLab