gbv / jskos-tools

Tools for working with the JSKOS data format.
https://gbv.github.io/jskos-tools/
MIT License
2 stars 0 forks source link

Complete CSV<->JSKOS conversion #34

Open nichtich opened 2 years ago

nichtich commented 2 years ago

As discussed here the conversion between JSKOS and CSV is partly implemented in jskos-cli and jskos-tools. This should be moved to jskos-tools. Current state:

jskos-tools:

jskos-cli

Converting concepts in mono-hierarchies requires a "stack" variable so a plain function is not enough. Either use transformer or a pass stack to calls of the conversion function (what name for the reverse of flatten?). I'd prefer to not use transformers in jskos-tools but simple functions to be used in jskos-cli. @stefan does jskos-server use streaming transformation?