Fetches and imports ABARES trade data.
Arguments
- cache
Boolean
Cache the ABARES trade data after download usingtools::R_user_dir()
to identify the proper directory for storing user data in a cache for this package. Defaults toTRUE
, caching the files locally as a native R object. IfFALSE
, this function usestempdir()
and the files are deleted upon closing of 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
Other Trade:
read_abares_trade_regions()