Open wlpotter opened 3 years ago
need a refactor to create a generic "create-index" that receives a string as well as the header map and makes a sequence of elements named after that string. Note that this creates the header indices (i.e., sheet-wide) while something like source-index-for-row creates row-specific indices of data, which is different.
Sources may be the only odd one as they both are used to create elements (bibls) and to source elements with attributes.
[EDIT: These are complete]
It would also be useful to have in csv2srophe a generic function that looks through an index or the header map for specific row data (there is a lot of repetition in the persName, placeName, abstract, etc. creation where the for loop is virtually the same). I need to think more about how this will look, and it will likely get its own issue.
[EDIT: These are complete]
Note to self: none of these may be necessary, and some may no longer be relevant with changes to how, e.g., nested locations are encoded in the new schema