Learn R Programming

comtradr (version 0.2.1)

ct_register_token: Comtradr set API token

Description

Function to set an API token for the UN Comtrade API. Details on tokens and rate limits can be found https://comtrade.un.org/data/doc/api/#Authentication

Usage

ct_register_token(token)

Arguments

token

char string, valid API token.

Value

Set comtradr API token and update rate limits.

Examples

Run this code
# NOT RUN {
ct_register_token("some_valid_token_str")
# }

Run the code above in your browser using DataLab