rdf-ext / rdf-parser-csvw

CSV on the Web parser
MIT License
16 stars 4 forks source link

feat: support default column names #37

Closed tpluscode closed 2 years ago

tpluscode commented 2 years ago

This PR allows templates which use the default column names _row, _sourceRow and _name

I did not find it exactly in spec, but I think that _row is the number which starts with data and _sourceRow includes header and skipped rows. In other words, _row is smaller. I think it's proven by the CSVW test case 39, output of which shows that _row produced starting at 1 thus skipping the header

Additionally, i also added top-level propertyUrl

tpluscode commented 2 years ago

Would you please review @bergos