openreferral / hsds-transformer

Convert data into valid Human Service Data Specification (HSDS) datapackages. (Produced by the Open Referral Initiative.)
MIT License
11 stars 5 forks source link

Add eligibilities.csv output #23

Closed switzersc closed 5 years ago

switzersc commented 5 years ago

We need to generate eligibilities from input data. This is usually one text field in a CSV.

Headers: id, service_id, eligibility

See the HSDS reference: https://openreferral.readthedocs.io/en/latest/hsds/reference/#eligibility

For the test data mapping, you can add this to the locations segment:

Income standard for eligibility:
  model: eligibilities
  field: eligibility
  foreign_key_name: service_id
  foreign_key_value: Services
switzersc commented 5 years ago

closed with #28