get_primary_comtrade_key: get_primary_comtrade_key

View source: R/utils.R

get_primary_comtrade_keyR 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()


ropensci/comtradr documentation built on April 29, 2024, 6:23 p.m.