get_primary_comtrade_key {comtradr} | 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.
get_primary_comtrade_key()
Gets your primary comtrade key from the environment var COMTRADE_PRIMARY
## get API key
get_primary_comtrade_key()