get_primary_comtrade_key {comtradr}R Documentation

get_primary_comtrade_key

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

get_primary_comtrade_key()

Value

Gets your primary comtrade key from the environment var COMTRADE_PRIMARY

Examples


## get API key
get_primary_comtrade_key()


[Package comtradr version 0.4.0.0 Index]