3 ms·
The one thing that was not left fully specified: Should the filename in YYYYMMDD.csv be the date that the program is run, or should a file of that spec be crea
by peapicker 12y ago
The one thing that was not left fully specified: Should the filename in YYYYMMDD.csv be the date that the program is run, or should a file of that spec be created grouping the lines in the .json file by their date field? If it is the latter, none of the github solutions are coding this correctly.
- notpeter 12y agoMy PostgreSQL 9.3 solution using json_populate_recordset and @cjauvin's Python solution are the only two which group by date. It wasn't much harder, but nudges it out of shell oneliner territory. https://gist.github.com/jorin-vogel/2e43ffa981a97bc17259#comment-1440569 https://gist.github.com/jorin-vogel/2e43ffa981a97bc17259#com...