Data Science

Tools

JQ

The option -s puts the different objects at root in an array.

Data conversion

DataKnead seems to be a very handy tools for data conversion between csv, json, excel and xml files.

XML2JSON

xml2json seems enough for xml to json translation:

xml2json -t xml2json -o file.json file.xml --strip_text

To install it, you need to execute:

git clone https://github.com/hay/xml2json.git
cd xml2json
python setup.py build 
chmod +x cp build/*/xml2json.py
cp build/*/xml2json.py ~/.local/bin/xml2json

This post accepts webmentions. Do you have the URL to your post?

Otherwise, send your comment on my service.

Or interact from the fediverse with your username:

fediverse logo Share on the Fediverse