Skip to contents

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

get_primary_comtrade_key()

Value

Gets your primary comtrade key from the environment var COMTRADE_PRIMARY