pivot a csv
This commandline tool is installed via npm:
$ npm install -g node-csv-pivot
csvpivot -c sampleConfig.json
2039;20131111;00:00;5.9;84.0
2039;20131111;01:00;5.9;85.0
2039;20131111;02:00;5.8;86.0
2039;20131111;03:00;5.6;87.0
2039;20131111;04:00;5.3;89.0
2039;20131111;05:00;5.5;91.0
2039;20131111;06:00;5.2;90.0
2039;20131111;07:00;3.7;89.0
2039;20131111;08:00;4.9;87.0
2039;20131111;09:00;6.6;84.0
2039;20131111;10:00;7.1;82.0
2039;20131111;11:00;7.4;78.0
2039;20131111;13:00;7.4;74.0
2039;20131111;14:00;7.6;74.0
2039;20131111;15:00;6.6;83.0
2039;20131111;16:00;4.8;86.0
2039;20131111;17:00;5.5;76.0
2039;20131111;18:00;5.3;73.0
2039;20131111;19:00;5.9;68.0
2039;20131111;20:00;6.0;68.0
2039;20131111;21:00;5.9;68.0
2039;20131111;22:00;5.9;67.0
2039;20131111;23:00;5.4;68.0
2039,20131111,5.9,5.9,5.8,5.6,5.3,5.5,5.2,3.7,4.9,6.6,7.1,7.4,,7.4,7.6,6.6,4.8,5.5,5.3,5.9,6.0,5.9,5.9,5.4
{"pivotAttributes" : ["00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00",
"13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"],
"separator": ";",
"keyCols": [0, 1],
"nAttributeCol" : 2,
"nValueCol": 5}