SuffolkLITLab / docassemble-MAPovertyScale

Contains most recent poverty scale in poverty.yml
MIT License
0 stars 0 forks source link

docassemble-MAPovertyScale

This package is deprecated in favor of docassemble-PovertyScale.

Old instructions

Contains most recent poverty scale in poverty.yml

When you include this in your package, you will have 4 variables available in the main Docassemble namespace:

To use:

---
include:
  - docassemble.MAPovertyScale:poverty.yml
---
reconsider: True
code: |
  additional_income_allowed = max(household_size - 1, 0) * poverty_increment
  household_income_limit = (poverty_base + additional_income_allowed) * poverty_multiplier

  household_income_qualifies = int((household_income_limit)/12) >=  int(household_monthly_income)