Skip to contents

Fetches and imports ABARES "Historical State Estimates" data.

Usage

read_historical_state_estimates(x = NULL)

read_hist_st_est(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::data.table() object with the Variable field as the key.

Note

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

Examples

if (FALSE) { # interactive()
read_historical_state_estimates()

# or shorter
read_hist_st_est()
}