Last chance! 50% off unlimited learning
Sale ends in
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.
set_primary_comtrade_key(key = NULL)
Saves your comtrade primary key in the environment.
Provide your primary comtrade key
if (FALSE) { # interactive()
## set API key
set_primary_comtrade_key("xxxxxc678ca4dbxxxxxxxx8285r3")
}
Run the code above in your browser using DataLab