This is a collection of scripts to convert data from one format to another.
What? Turns CSV into JSON Why? JSON is nicer to navigate and query using jq or fx How?
# Pass the file on the command-line
./csv-to-json.rb $FILE
# or use stdin
./csv-to-json.rb -
What? Turns an HTML table into CSV Why? Sometimes, websites don't provide the right APIs and you just want to export data from a table. How?
# Pass the file on the command-line
./table-to-csv.rb $FILE
# or use stdin
./table-to-csv.rb -