Skip to contents

The atdb_get_data function retrieves arms transfer data from the SIPRI arms transfer database (ATDB).

Usage

atdb_get_data(
  verbose = FALSE,
  start_year,
  end_year,
  cache = FALSE,
  tidy_cols = TRUE
)

Arguments

verbose

Logical. If TRUE, prints additional details about the query process. Default is FALSE.

start_year

Numeric. Start of date range to query.

end_year

Numeric. End of date range to query.

cache

Logical. If TRUE, caches the response and processed data to avoid re-querying. Default is FALSE

tidy_cols

Logical. If TRUE, formats the column headers to a tidy format. Default is TRUE

Value

A tibble containing the requested data.