Returns the ATO's annual compliance program outcomes: audit yield (tax raised from audits), settled disputes, collectable debt, and compliance cost recovery. These appear in the ATO annual report and related data.gov.au releases.
Usage
ato_compliance(year = "latest", metric = c("overview", "debt", "audit"))Examples
# \donttest{
op <- options(ato.cache_dir = tempdir())
try(ato_compliance(year = "2022-23", metric = "debt"))
#> Error in ato_compliance(year = "2022-23", metric = "debt") :
#> No compliance dataset found for metric "debt".
#> ℹ The ATO annual report is published as PDF on ato.gov.au, not as open data on
#> data.gov.au.
#> ℹ Closest published series: `ato_tax_gaps()`.
#> ℹ Browse the full catalogue with `ato_catalog()`.
options(op)
# }