Skip to contents

Fetch Australian Gridded Farm Data

Usage

get_agfd(fixed_prices = TRUE, cache = TRUE)

Arguments

fixed_prices

Boolean Download historical climate and prices or historical climate and fixed prices as described in (Hughes et al. 2022). Defaults to TRUE and downloads the data with historical climate and fixed prices “to isolate the effects of climate variability on financial incomes for broadacre farm businesses” (ABARES 2024). Using TRUE will download simulations where global output and input price indexes are fixed at values from the most recently completed financial year.

cache

Boolean Cache the Australian Gridded Farm Data files after download using tools::R_user_dir to identify the proper directory for storing user data in a cache for this package. Defaults to TRUE, caching the files locally. If FALSE, this function uses tempdir() and the files are deleted upon closing of the R session.

Value

An read.abares.agfd.nc.files object, a list of NetCDF files containing the Australian Gridded Farm Data

References

Australian gridded farm data, Australian Bureau of Agricultural and Resource Economics and Sciences, Canberra, July 2024, DOI: 10.25814/7n6z-ev41. CC BY 4.0.

N. Hughes, W.Y. Soh, C. Boult, K. Lawson, Defining drought from the perspective of Australian farmers, Climate Risk Management, Volume 35, 2022, 100420, ISSN 2212-0963, DOI: 10.1016/j.crm.2022.100420.

Examples

get_agfd()
#> 
#> ── Locally Available ABARES AGFD NetCDF Files ──────────────────────────────────
#> • f2022.c1991.p2022.t2022.nc
#> • f2022.c1992.p2022.t2022.nc
#> • f2022.c1993.p2022.t2022.nc
#> • f2022.c1994.p2022.t2022.nc
#> • f2022.c1995.p2022.t2022.nc
#> • f2022.c1996.p2022.t2022.nc
#> • f2022.c1997.p2022.t2022.nc
#> • f2022.c1998.p2022.t2022.nc
#> • f2022.c1999.p2022.t2022.nc
#> • f2022.c2000.p2022.t2022.nc
#> • f2022.c2001.p2022.t2022.nc
#> • f2022.c2002.p2022.t2022.nc
#> • f2022.c2003.p2022.t2022.nc
#> • f2022.c2004.p2022.t2022.nc
#> • f2022.c2005.p2022.t2022.nc
#> • f2022.c2006.p2022.t2022.nc
#> • f2022.c2007.p2022.t2022.nc
#> • f2022.c2008.p2022.t2022.nc
#> • f2022.c2009.p2022.t2022.nc
#> • f2022.c2010.p2022.t2022.nc
#> • f2022.c2011.p2022.t2022.nc
#> • f2022.c2012.p2022.t2022.nc
#> • f2022.c2013.p2022.t2022.nc
#> • f2022.c2014.p2022.t2022.nc
#> • f2022.c2015.p2022.t2022.nc
#> • f2022.c2016.p2022.t2022.nc
#> • f2022.c2017.p2022.t2022.nc
#> • f2022.c2018.p2022.t2022.nc
#> • f2022.c2019.p2022.t2022.nc
#> • f2022.c2020.p2022.t2022.nc
#> • f2022.c2021.p2022.t2022.nc
#> • f2022.c2022.p2022.t2022.nc
#> • f2022.c2023.p2022.t2022.nc
#>