This repository contains the data and code for the analyses by Richard W. Evans (@rickecon) and Jason DeBacker (@jdebacker) in the October 2024 article on South Carolina individual and business tax reform.
We have created a Google Colab notebook with code almost exactly the same as th code in the Jupyter Notebook SC_IndivBusTax.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.
This repository contains a Jupyter Notebook SC_IndivBusTax.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/OpenSourceEcon/SC-IndivBusTax repository
- In your computer's terminal, navigate to the directory of the
SC-IndivBusTax
repository on your local machine. - Create the conda environment
sc-indivbustax-dev
by typing the following command:conda env create -f environment.yml
- Activate the
sc-indivbustax-dev
conda environment by typing the following command:conda activate sc-indivbustax-dev
- This should allow your notebook to run while this conda environment is activated.
This repository contains the following items:
SC_IndivBusTax.ipynb
Jupyter notebook. An executable notebook you can use to replicate all the analyses in the article and creation of output and figures. A corresponding Google Colab notebook that can be run on your browser and executed in the cloud is available at the link in this sentence.environment.yml
. Conda environment file for creating conda environmentsc_indivbustax-dev
./data/
directory. This directory contains the data used in the analyses in the article./data/cb_2018_us_state_20m
. Folder containing US Census Bureau shapefiles (7 files) and corresponding files for US states. We use the "<1.0 MB" files (the_20m
extension). See https://www.census.gov/geographies/mapping-files/2018/geo/carto-boundary-file.html. These are used in the creation of the/images/fig1_state_taxtype_2024.html
and/images/fig2_state_corptaxtype_2024.html
map images inSC_IndivBusTax.ipynb
Jupyter notebook./data/fig1_state_taxtype_2024.csv
. Source data for Figure 1 in the paper./data/fig2_state_corptaxtype_2024.csv
. Source data for Figure 2 in the paper./data/fig4_source.csv
. Source data for Figure 4 in the paper./data/fig9_source.csv
. Source data for Figure 9 in the paper./data/fig10_source.csv
. Source data for Figure 10 in the paper./data/NST-EST2023-ALLDATA.csv
. US Census Bureau net domestic migration by state data for 2023./data/Pew_ReservesData.csv
. Rainy Day Fund and Total Reserves and Balances data for all 50 states and DC, Pew Charitable Trusts, Sep. 19, 2024, accessed Sep. 24, 2024 (Data downloaded from: https://www.pewtrusts.org/en/research-and-analysis/data-visualizations/2014/fiscal-50/reserves-and-balances)/data/tab3_netmigr_rank_2023.csv
. Net migration data in Table 3./data/tab3_netmigr_rank_full_2023.csv
. Net migration data with all variables./data/Tab13comp.xlsx
. Worksheets for computing cost estimates in Table 13.
/images/
directory. This folder contains the.html
files for the dynamic visualizations in the paper and created in the notebook and the corresponding static.png
image files./images/fig1_state_taxtype_2024.html
. Dynamic data visualization Bokeh.html
file. Figure 1. US State Employment Income Tax Systems as of July 2024./images/fig1_state_taxtype_2024.png
. Static.png
file. Figure 1. US State Employment Income Tax Systems as of July 2024./images/fig2_state_corptaxtype_2024.html
. Dynamic data visualization Bokeh.html
file. Figure 2. US State Corporate Income Tax Systems as of July 2024./images/fig2_state_corptaxtype_2024.png
. Static.png
file. Figure 2. US State Corporate Income Tax Systems as of July 2024./images/fig3_net_domestic_migration_2023.html
. Dynamic data visualization Bokeh.html
file. Figure 3. 2023 net domestic migration as percent of 2022 population./images/fig3_net_domestic_migration_2023.png
. Static.png
file. Figure 3. 2023 net domestic migration as percent of 2022 population./images/fig4_sc_raintotbal_tseries.html
. Dynamic data visualization Bokeh.html
file. Figure 4. South Carolina Rainy Day fund and total reserves as a percentage of general fund expenditures: 2000-2024./images/fig4_sc_raintotbal_tseries.png
. Static.png
file. Figure 4. South Carolina Rainy Day fund and total reserves as a percentage of general fund expenditures: 2000-2024./images/fig5_rain_totbal_pct_2024.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 5. State 2024 Rainy day Fund Balances and Total Fund Balances as Percent of General Fund Expenditures./images/fig5_rain_totbal_pct_2024.png
. Static.png
file, for web publication. Figure 5. State 2024 Rainy day Fund Balances and Total Fund Balances as Percent of General Fund Expenditures./images/fig6_CurrReformTaxRates.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 6./images/fig6_CurrReformTaxRates.png
. Static.png
file, for web publication. Figure 6./images/fig7_CurrReformSC_StdDeduct_5.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 7./images/fig7_CurrReformSC_StdDeduct_5.png
. Static.png
file, for web publication. Figure 7./images/fig8_CurrReformSC_StdDeduct_4.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 8./images/fig8_CurrReformSC_StdDeduct_4.png
. Static.png
file, for web publication. Figure 8./images/fig9_NetStateTaxLiabChg_5.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 9./images/fig9_NetStateTaxLiabChg_5.png
. Static.png
file, for web publication. Figure 9./images/fig10_NetStateTaxLiabChg_4.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 10./images/fig10_NetStateTaxLiabChg_4.png
. Static.png
file, for web publication. Figure 10./images/fig12_HistSC2024revenue.html
. Dynamic data visualization Bokeh.html
file, for web publication. Figure 12./images/fig12_HistSC2024revenue.png
. Static.png
file, for web publication. Figure 12.