set_primary_comtrade_key | R Documentation |
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)
key |
Provide your primary comtrade key |
Saves your comtrade primary key in the environment.
## set API key
set_primary_comtrade_key("xxxxxc678ca4dbxxxxxxxx8285r3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.