Tax-Calculator GrowDiff#
Tax-Calculator GrowDiff
taxcalc.growdiff#
- class taxcalc.growdiff.GrowDiff(last_budget_year=2034)[source]#
GrowDiff is a subclass of the abstract Parameters class, and therefore, inherits its methods (none of which are shown here).
Constructor for GrowDiff class.
- Parameters:
last_budget_year (integer) – user-defined last parameter extrapolation year
- Returns:
class instance
- Return type:
- has_any_response()[source]#
Returns true if any parameter is non-zero for any year; returns false if all parameters are zero in all years.
- static read_json_update(obj, topkey)[source]#
Return a revision dictionary suitable for use with update_growdiff method generated from the specified JSON object, which can be None or a string containing a local filename, a URL beginning with ‘http’ pointing to a valid JSON file hosted online, or a valid JSON text.