metafacture / metafacture-core

Core package of the Metafacture tool suite for metadata processing.
https://metafacture.org
Apache License 2.0
69 stars 34 forks source link

Introduce `encode-csv` #483

Closed TobiasNx closed 1 year ago

TobiasNx commented 1 year ago

We can decode csv with metafacture but we cannot encode it. Would be nice to have an encoder for csv

We can reuse the csv-plugin: https://github.com/metafacture/metafacture-csv-plugin

TobiasNx commented 1 year ago

Usecase scenario: transforming metadata into KBART-format which has a tsv-serialation.

dr0i commented 1 year ago

from https://github.com/metafacture/metafacture-core/pull/486#issuecomment-1556930705:

I tested without options and | encode-csv(includeHeader="TRUE", separator="\t", noQuotes="true") seem to work nicely!

Also added to flux-commands.

dr0i commented 1 year ago

Solved. Closing.