Tax-Calculator GrowFactors#
Tax-Calculator GrowFactors
taxcalc.growfactors#
- class taxcalc.growfactors.GrowFactors(growfactors_filename=None)[source]#
Constructor for the GrowFactors class.
- Parameters:
growfactors_filename (None or string) – string is path to the CSV file in which grow factors reside; default value of None uses file containing puf/cps grow factors.
- Raises:
ValueError: – if growfactors_filename is neither None or a string. if growfactors_filename string points to a non-existent file.
- Returns:
class instance
- Return type:
Notes
Typical usage is “gfactor = GrowFactors()”, which produces an object containing baseline growth factors in the GrowFactors.FILE_NAME file, which is for use with puf and cps data from the taxdata repository.