Skip to content

phamelink/SwissTaxEstimator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwissTaxEstimator

In an attempt to estimate the tax rate for swiss revenue, I built a small web page that will take a user's input and estimate how much of his revenue will be owed to the government.

To do this, I obtained a zip file of all rates for all cantons in Switzerland. Given the format of this document, I first created a formatter in Go, which generates a set of JSON files that I can access and control using vanilla javascript.

How to use the estimator

  • Download the necessary txt file, and put in /Formatter/rawData/ and change the year if necessary in formatter.go. I used and generated the data based on the data from 2021.
  • Now, you should have the JSON data for each canton in /Formatter/jsonData/
  • Open /UI/index.html on your favorite browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published