kosis.setKey: Set KOSIS API Key

View source: R/setKey.R

kosis.setKeyR Documentation

Set KOSIS API Key

Description

Save KOSIS API key for the current session. To set it permanently, please add the following line to your .Renvrion file:

KOSIS_API_KEY = "YOUR API KEY"

Usage

kosis.setKey(apiKey)

kosis.printKey()

Arguments

apiKey

A string specifying KOSIS API key

Value

No return value, called to set api key

Examples


## Set API Key for the current session
kosis.setKey("your_api_key")

## Check API key
kosis.printKey()


kosis documentation built on Aug. 8, 2023, 5:13 p.m.