getTaxAmount | R Documentation |
This function uses 2 main sources for tax data. At Kanton and Gemeinde level, the source is taxburden.list. At federal level, we use the official taxrate table (BundessteueTabelle) and we try to aproximate the taxable income.
getTaxAmount(Income, rate_group, Age, NChildren, postalcode, churchtax)
Income |
Annual salary. |
rate_group |
A (Single), B (Married), C (Married Double income) |
Age |
Age of the person. |
NChildren |
Number of children. |
postalcode |
Zip code |
churchtax |
Y/N |
This function assumes the following objects on the global enviornment
PLZGemeinden (includes Kirchensteuer)
taxburden.list
BundessteueTabelle
BVGcontributionratesPath, BVGcontributionrates
MaxBVG, MinBVG
KinderabzugKG
NBU, maxNBU
AHL
ALV, maxALV
VersicherungsL, VersicherungsV, VersicherungsK
BerufsauslagenTarif, BerufsauslagenMax, BerufsauslagenMin
Tax Amount
swisstax
## Not run: getTaxAmount(Income = 200000, rate_group = "C", Age = 32, NChildren = 5, postalcode = 8400, churchtax = "Y") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.