The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Three canonical tax-research exercises, each in around 20 lines.
ctt <- ato_top_taxpayers(year = "2022-23")
# Effective tax rate = tax payable / taxable income, for entities
# with positive taxable income. Drop zero-taxable rows (they bias
# the ratio; rely on loss-makers analysis separately).
ctt <- ctt[!is.na(ctt$taxable_income) & ctt$taxable_income > 0, ]
ctt$etr <- ctt$tax_payable / ctt$taxable_income
by_industry <- aggregate(etr ~ entity_type, data = ctt, FUN = median)
by_industry[order(-by_industry$etr), ]tg <- ato_tax_gaps()
library(ggplot2)
ggplot(tg, aes(x = year, y = tax_gap_estimate,
colour = tax_gap_type)) +
geom_line() +
labs(title = "ATO estimated tax gaps over time",
x = NULL, y = "Estimated tax gap (AUD million)",
colour = "Gap type",
caption = "Source: ATO Taxation Statistics. Retrieved via ato package.") +
theme_minimal()help_data <- ato_help()
# Bucketed by age range; real-terms deflation to 2022-23
help_data$real <- ato_deflate(help_data$total_debt,
year = help_data$year,
base = "2022-23")
head(help_data)Each of these replications takes an ATO published release, a
harmonise/deflate/reconcile transformation, and a small
computation. The provenance header (snapshot pin + SHA-256) makes the
result fully auditable.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.