## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## -----------------------------------------------------------------------------
time_period = 2016              # single year
time_period = c(2010, 2015)     # multiple specific years
time_period = 2010:2020         # range (will select available years)

## -----------------------------------------------------------------------------
language = "eng"  # character string

## ----eval=FALSE---------------------------------------------------------------
# # download treated trade data for 2016 (HS92 classification)
# # Warning: large download, may take a long time
# trade_2016 <- load_baci(
#   dataset = "HS92",
#   raw_data = FALSE,
#   time_period = 2016,
#   language = "eng"
# )

