auth {rusquant}R Documentation

Set creds for Datasource

Description

Sets creds for the Datasource by storing it in an environment variable for the current R session. This token will be used by other functions in the package to authenticate API requests.

Usage

auth(src = "Moex", login, password)

Arguments

src

datasource name.

login

login of datasource

password

password of datasource

Value

Invisible NULL, side-effect function setting an environment variable.

Examples

## Not run: 
  auth(login = "user@email.com",password = "mypassword")

## End(Not run)

[Package rusquant version 1.1.4 Index]