NCEAS/metadig-checks

Data text delimited variables congruent with metadata

jeanetteclark opened this issue · 1 comments

Status : ✍️ Drafted

Description

Check to make sure the variable names in a text table (tsv, csv) are the same as the attributeNames given in the metadata

Priority

  • Data Quality: Required

Issues

  • none

Procedure

  • retrieve the text delimited file and read it into the environment using the appropriate fieldDelimiter and headerLines as listed in the metadata (with reasonable default assumptions)
  • retrieve the list of attribute names for that file as described in the EML document
  • compare the two, the check passes if they are the same

update: rewrote this in python to use hashstore