ThreeSixtyGiving / Dashboard

GNU General Public License v3.0
1 stars 0 forks source link

User Story: Fields included #6

Open drkane opened 6 years ago

drkane commented 6 years ago

As a 360 giving staff member I want to see how many mandatory, recommended & optional fields have been included So I can check completeness of the data

3/4 parts of completeness for a field:

  1. field is present in the data
  2. proportion of rows with a non-null value
  3. proportion of rows with a valid value (matching regex? Correct type mapping?)
  4. (for some fields: value is externally validated against list)

Example of 3/4: For currency field, check in part 3 would be that the value is 3 characters long and only has alpha characters (regex [A-Z]{3}). For part 4 it would check that each code actually exists in the ISO 4217 list