Learn R Programming

read.abares (version 2.0.0)

read_historical_forecast_database: Read ABARES' "Historical Forecast Database"

Description

Fetches and imports ABARES "Historical Forecast Database" performance data.

Usage

read_historical_forecast_database(x = NULL)

read_historical_forecast(x = NULL)

Value

A data.table::data.table() object.

Arguments

x

A file path providing the file with the data to be imported. The file is assumed to be unarchived locally. 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.

Data Dictionary

The resulting object will contain the following fields.

FieldDescription
CommodityBroad description of commodity (includes the Australian dollar)
Estimate_typeBroad grouping of estimate by theme e.g., animal numbers, area, production, price, export and volume measures.
Estimate_descriptionDetailed description of each series.
UnitMeasurement unit of series. e.g., kt, $m, $/t.
RegionRelevant region for each series. "World" denotes relevant international market.
Year_IssuedYear that forecast was originally issued.
Month_issuedMonth that forecast was originally issued.
Year_Issued_FYAustralian financial year (July-June) that forecast was originally issued.
Forecast_Year_FYAustralian financial year (July-June) for which the forecast was issued. Where forecast year is earlier than Year Issued (FY), value is a backcast.
Forecast_ValueForecast as originally issued.
Actual_ValueActual outcome observed. Note that historical time series can be revised. Latest available data at time of update, including any revisions, are included in database.

References

https://www.agriculture.gov.au/abares/research-topics/agricultural-outlook/historical-forecasts#:~:text=About%20the%20historical%20agricultural%20forecast,relevant%20to%20Australian%20agricultural%20markets.

Examples

Run this code
if (FALSE) { # interactive()

read_historical_forecast_database()

# or shorter
read_historical_forecast()
}

Run the code above in your browser using DataLab