wlpotter / csv-to-srophe

A set of XQuery modules for converting CSV data to Srophe-compliant TEI XML records. Developed for Syriaca.org
GNU General Public License v3.0
1 stars 1 forks source link

First output of persons data ready for review #24

Closed wlpotter closed 2 years ago

wlpotter commented 2 years ago

@dlschwartz I have the first outputs of the persons transform, here: https://github.com/wlpotter/csv-to-srophe/tree/main/test/out/csv-tests/persons

The first two to look at are

  1. 3229
  2. 3774

These are the two sample records I used to build the persons transform module. So any glaring errors there are likely to be shared across the other data.

Then it would be worthwhile to spot-check several other records to identify issues.

Unfortunately, we can't rely here on the schema validation as we haven't updated that yet.

Finally, here are a few notes of known issues and problems

  1. The anonymous description vs abstract has yet to be resolved. The script currently looks for sources associated with the anonymous description but we do not have separate columns for that data right now, so they all have the @resp="http://syriaca.org even if they should be sourced
  2. Not all the anonymi records had the column for "trait.en" filled in, so all but record 3774 are missing that trait. I also haven't included that trait in an @ana or @role attribute as I couldn't remember if we had decided for sure to include a "#syriaca-anonymous" value for those.
  3. The items in #22 have yet to be implemented.

Feel free either to post other issues you notice here or create separate issues for them.

dlschwartz commented 2 years ago

@wlpotter this is looking really good! Thank so much. I've noticed a couple of issues in my spot-checking.

Beyond these couple of quick things, I think the transform is working really well and we'll just need to wait for the schema updates to take things further.

Thanks Will!

wlpotter commented 2 years ago

@dlschwartz Thanks for these!

I think once we sort out the few remaining decisions, and once we've implemented batch changes, this transform should be ready to go.

wlpotter commented 2 years ago

FYI, I should have mentioned this above, but the script was working on my adaptation of the Google sheet, here: https://github.com/wlpotter/csv-to-srophe/blob/main/in/test/persons_test.csv

wlpotter commented 2 years ago

Closing this as I've made issues for the dates, and everything else requires CSV data changes.