Skip to contents

Fetches and imports ABARES trade data. As the data x is large, ~1.4GB uncompressed CSV x.

Usage

read_abares_trade(x = NULL)

Arguments

x

A file path providing the file with the data to be imported. The file is assumed to be unarchived (i.e., still zipped). This function does not provide any checking whether this function is the proper function for the provided file. Defaults to NULL, assuming that the file will be downloaded in the active R session.

Value

A data.table object of the ABARES trade data.

Note

Columns are renamed for consistency with other ABARES products serviced in this package using a snake_case format and ordered consistently.

See also

Examples

if (FALSE) { # interactive()
trade <- read_abares_trade()

trade
}