[librecat-dev] Columns order in tabular exporters with Catmandu

Nicolas Steenlant Nicolas.Steenlant at UGent.be
Tue Jun 12 16:32:09 CEST 2018


Hello Jose,

the —fields option takes a comma separated list of column names. The order will be respected by the exporter.
If you need custom column labels, you can also set—columns to list the labels.

Regards,
Nicolas

--
Nicolas Steenlant
software developer at University Library Ghent


On 12 Jun 2018, at 16:25, Jose I. Martin Cuesta <jose.martincuesta at kaust.edu.sa<mailto:jose.martincuesta at kaust.edu.sa>> wrote:

Hello,

Is there a way to define the desired columns order for the output with tabular exporters like CSV or TSV?
All I’m getting is the alphabetical column order (different from the input, which I need to keep).

Just starting with Catmandu and got stuck here, but it’s impressive what can be done with 5 fix lines. I think I’m falling in love…

Many thanks and all the best,

                Jose


________________________________
This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.
_______________________________________________
librecat-dev mailing list
- send list mails to librecat-dev at lists.uni-bielefeld.de<mailto:librecat-dev at lists.uni-bielefeld.de>
- to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
- project website: http://librecat.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20180612/9d3d006b/attachment.html>


More information about the librecat-dev mailing list