Skip to content

Data and code for analysis in "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas"

License

Notifications You must be signed in to change notification settings

TheCGO/KS-FlatTax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data and code for "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas"

This repository contains the data and code for the analyses in the Research in Focus article by Richard W. Evans (@rickecon) and Patrick Neyland (@taxpat) entitled "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas".

How to run the code from these analyses in the cloud in your browser

We have created a Google Colab notebook with code almost exactly the same as th code in the Jupyter Notebook KS_FlatTax.ipynb decribed in the next section. The Google Colab notebook has the advantage of using a distribution of Python and corresponding packages that run in the cloud on remote servers instead of on your local machine. This allows you to use the notebook from any kind of device with a browser. You can execute th code, see the results, and save output to a temporary cloud folder from which you can download anything you want to keep.

How to run the Jupyter Notebook on your machine

This repository contains a Jupyter Notebook KS_FlatTax.ipynb that can be run locally on your own machine to replicate the analyses in the paper. You can also modify this notebook to use for other analyses you might want to experiment with. To run this notebook locally on your machine, do the following steps:

  • Fork and clone (or download) the https://github.com/TheCGO/KS-FlatTax repository
  • In your computer's terminal, navigate to the directory of the KS-FlatTax repository on your local machine.
  • Create the conda environment ks-flattax-dev by typing the following command: conda env create -f environment.yml
  • Activate the ks-flattax-dev conda environment by typing the following command: conda activate ks-flattax-dev
  • This should allow your notebook to run while this conda environment is activated.

Files and directories in the repository

This repository contains the following items:

Releases

No releases published

Packages

No packages published