set_primary_comtrade_key {comtradr} | R Documentation |
Set your primary Comtrade API key in the environment variable
Description
If you would like your Comtrade API key to persist in between sessions,
use usethis::edit_r_environ()
to add the env variable COMTRADE_PRIMARY
to your environment file.
Usage
set_primary_comtrade_key(key = NULL)
Arguments
key |
Provide your primary comtrade key |
Value
Saves your comtrade primary key in the environment.
Examples
## set API key
set_primary_comtrade_key("xxxxxc678ca4dbxxxxxxxx8285r3")
[Package comtradr version 1.0.1 Index]