Package: grattan 2024.1.1

Hugh Parsonage

grattan: Australian Tax Policy Analysis

Utilities to cost and evaluate Australian tax policy, including fast projections of personal income tax collections, high-performance tax and transfer calculators, and an interface to common indices from the Australian Bureau of Statistics. Written to support Grattan Institute's Australian Perspectives program, and related projects. Access to the Australian Taxation Office's sample files of personal income tax returns is assumed.

Authors:Hugh Parsonage [aut, cre], Tim Cameron [aut], Brendan Coates [aut], Matthew Katzen [aut], William Young [aut], Ittima Cherastidtham [dtc], W. Karsten [ctb], M. Enrique Garcia [ctb], Matt Cowgill [aut]

grattan_2024.1.1.tar.gz
grattan_2024.1.1.tar.gz(r-4.5-noble)grattan_2024.1.1.tar.gz(r-4.4-noble)
grattan_2024.1.1.tgz(r-4.4-emscripten)grattan_2024.1.1.tgz(r-4.3-emscripten)
grattan.pdf |grattan.html
grattan/json (API)
NEWS

# Install 'grattan' in R:
install.packages('grattan', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/hughparsonage/grattan/issues

Uses libs:
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

3.27 score 124 scripts 611 downloads 62 exports 55 dependencies

Last updated 8 months agofrom:497a5a24b5. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-linux-x86_64OKNov 23 2024

Exports:age_grouperage_pension_ageapply_super_caps_and_div293aus_pop_qtraus_pop_qtr_ageawotebtocompare_avg_tax_ratescpi_inflatorcpi_inflator_general_datecpi_inflator_quartersdate2fydifferentially_uprate_wagefvfy.yearfy2datefy2yrgdp_fygdp_qtrgni_fygni_qtrincome_taxinflatorinstall_taxstatsinverse_average_rateinverse_incomeirris.fylf_inflatorlf_inflator_fylitolmitomedicare_levymodel_income_taxmodel_new_caps_and_div293mutate_ntilen_affected_from_new_cap_and_div293npvpmax3pmaxCpmaxVpminCpminVpmtprogressivityprojectproject_topvrequire_taxstatsrequire_taxstats1516revenue_foregonerevenue_from_new_cap_and_div293saptoset_offsetset_offsetssmall_business_tax_offsetSystemthe_MAX_N_OFFSETNvalidate_datewage_inflatorweighted_ntileyr2fy

Dependencies:assertthatbackportscheckmateclicolorspacecurldata.tablefansifarverfastmatchforecastfracdifffygenericsggplot2gluegrattanInflatorsgtablehutilshutilscppineqisobandjsonlitelabelinglatticelifecyclelmtestmagrittrMASSMatrixmgcvmunsellnlmennetpillarpkgconfigquadprogquantmodR6RColorBrewerRcppRcppArmadillorlangscalestibbletimeDatetseriesTTRurcautf8vctrsviridisLitewithrxtszoo

Readme and manuals

Help Manual

Help pageTopics
The grattan package.grattan-package grattan _PACKAGE
Age grouperage_grouper
Age of eligibility for the Age Pensionage_pension_age
Superannuation caps and Division 293 calculationsapply_super_caps_and_div293
Australia's populationaus_pop_qtr
Australian estimated resident population by age and dateaus_pop_qtr_age
AWOTEawote
Beneficiary tax offsetbto
Forecasting capital gainsCG_inflator CG_population_inflator
Compare average tax rates by percentilecompare_avg_tax_rates
CPI for general datescpi_inflator_general_date
CPI inflator when dates are nicecpi_inflator_quarters
Differential upratingdifferentially_uprate_wage
Gross Domestic Product, Australiagdp gdp_fy gdp_qtr
Generic inflatorgeneric_inflator
Gross National Income, Australiagni gni_fy gni_qtr
Income tax payableincome_tax
Inflate using a general indexinflator
Install 'taxstats' filesinstall_taxstats
Inverse average tax rateinverse_average_rate
Inverse income tax functionsinverse_income
Convenience functions for dealing with financial yearsdate2fy fy.year fy2date fy2yr is.fy yr2fy
Low Income Tax Offsetlito lmito
Maximum superannuation contribution basemax_super_contr_base
Medicare levymedicare_levy
Modelled Income Taxmodel_income_tax
Modelling superannuation changesmodel_new_caps_and_div293 n_affected_from_new_cap_and_div293 revenue_from_new_cap_and_div293
Financial functionsfv irr npv pmt pv \url{http://cvs.moodle.org/contrib/patches/question_calculated_extended/calculated/packages/financial/financial_class.php?view=co}
Compute the progressivityprogressivity
Prohibit zero lengthsprohibit_length0_vectors
Prohibit unequal length vectorsprohibit_unequal_length_vectors
Simple projections of the annual 2% samples of Australian Taxation Office tax returns.project
Simple projections of the annual 2% samples of Australian Taxation Office tax returns.project_to
Rebate incomerebate_income
Attach a 'taxstats' packagerequire_taxstats require_taxstats1516
Residential property prices in Australiaresidential_property_prices
Revenue foregone from a modelled sample filerevenue_foregone
Seniors and Pensioner Tax Offsetsapto
Set offsetsset_offset set_offsets the_MAX_N_OFFSETN
Small Business Tax Offsetsmall_business_tax_offset
FUNCTION_TITLESystem
Verifying validity of datesvalidate_date