diff --git a/tmd/create_taxcalc_cached_files.py b/tmd/create_taxcalc_cached_files.py index ed13fbb1..a9b8077a 100644 --- a/tmd/create_taxcalc_cached_files.py +++ b/tmd/create_taxcalc_cached_files.py @@ -29,6 +29,9 @@ def create_cached_files(): calc = tc.Calculator(policy=pol, records=rec) 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: