diff --git a/tmd/create_taxcalc_cached_files.py b/tmd/create_taxcalc_cached_files.py index ed13fbb..1bc9794 100644 --- a/tmd/create_taxcalc_cached_files.py +++ b/tmd/create_taxcalc_cached_files.py @@ -30,6 +30,11 @@ def create_cached_files(): calc.advance_to_year(TAX_YEAR) calc.calc_all() + # cache all variables to aid in areas examination + calc.dataframe(variable_list=None, all_vars=True).to_csv( + STORAGE_FOLDER / "output" / "cached_allvars.csv", index=None + ) + # write each variable in CACHED_TAXCALC_VARIABLES list to a binary file for vname in CACHED_TAXCALC_VARIABLES: varray = calc.array(vname)