Closed LinguList closed 2 years ago
Yeah, this dual nature of URLs - "real" HTTP URLs vs. paths in the file system - is difficult, in particular when it comes to relative paths. Will have a look.
Another thing: csvw2json
- when run on a CSV file rather than on a metadata file - will only work for the default CSV dialect. But csvwdescribe
will infer the right dialect in your case (from the *.tsv
suffix). So you can do
$ csvwdescribe etc/orthography/Atalla.tsv > md.json
$ csvw2json md.json
Ah, nice!
I just worked on the file
lexibank/crossandean/
where we have multiple orthography profiles, and tried to load it with CSVW, which works, but since I loaded not inside the same folder, the to_json command seems to combine the relative path with another path (?):So my interpretation of this error is that the path
etc/ortyhography/
is duplicated for some reason?I do not know if this is intended behavior, that's why I thought it is worthwhile posting it.