setToken: Set the query token

Description Usage Arguments Details Examples

Description

Set the token required to query series from SIE.

Usage

1
setToken(token)

Arguments

token

A string that corresponds to the query token obtained.

Details

This configuration is required prior to any function call pertaining to this package. The API used by siebanxicor requires that every request made, be identified by a token. Otherwise the query will be rejected. In order to work properly with this package is necessary to get a token here.

Before any request can be made with other functions, the obtained token must be set.

Examples

1
2
3
# an own token must be obtained
token <- "d4b584b43a1413f56e5abdcc0f9e74db112ce9bb2f1580c80cb252f5a18b30a21"
setToken(token)

siebanxicor documentation built on May 2, 2019, 9:13 a.m.