Learn R Programming

eodhdR2 (version 0.5.2)

set_token: Sets up authentication for eodhd

Description

Uses the token from https://eodhd.com/cp/dashboard to authenticate your R session. You can find your own eodhd token from the website. Alternatively, a demo token is also available for testing purposes, with a limited supply of data.

Usage

set_token(token = get_demo_token())

Value

Nothing

Arguments

token

the token from eodhd. The default value is a demo token "demo", which allows for partial access to the data. See get_demo_token() for using a demo token.

Examples

Run this code
if (FALSE) {
set_token()
}

Run the code above in your browser using DataLab