Tax-Calculator Consumption#
Tax-Calculator Consumption
taxcalc.consumption#
- class taxcalc.consumption.Consumption[source]#
Consumption is a subclass of the abstract Parameters class, and therefore, inherits its methods (none of which are shown here).
Constructor for Consumption class.
- Parameters:
none
- Returns:
class instance
- Return type:
- has_response()[source]#
Return true if any MPC parameters are positive for current_year or if any BEN value parameters are less than one for current_year; return false if all MPC parameters are zero and all BEN value parameters are one
- static read_json_update(obj)[source]#
Return a revision dictionary suitable for use with update_consumption method derived 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.