Last active
February 15, 2017 23:42
-
-
Save HughParsonage/ccaa946b7d4613ebbcd337dc23baaa53 to your computer and use it in GitHub Desktop.
Costing of lowering CGT discount to 25 per cent for investment property only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(taxstats) | |
| library(data.table) | |
| library(grattan) | |
| library(dplyr) | |
| library(dtplyr) | |
| library(magrittr) | |
| sample_file_1314 %>% | |
| project_to(fy.year.of.sample.file = "2013-14", to_fy = "2016-17") %>% | |
| merge(age_range_decoder) %>% | |
| mutate(tax = income_tax(Taxable_Income, "2016-17", age = if_else(age_range_description >= "65 to 69", 67, 42)), | |
| tax_cgt_25pc = if_else(Gross_rent_amt > 0, | |
| income_tax(Taxable_Income + 0.5 * Net_CG_amt, "2016-17", , age = if_else(age_range_description >= "65 to 69", 67, 42)), | |
| tax)) %>% | |
| summarise(current_tax_revenue = sum(tax * WEIGHT), | |
| tax_25pc_CGT = sum(tax_cgt_25pc * WEIGHT)) %$% | |
| {tax_25pc_CGT - current_tax_revenue} / 1e9 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment