0.2.0 • Published 7 years ago

px-to-csv v0.2.0

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
7 years ago

Convert PC-Axis to CSV Build Status

Convert PC-Axis files to CSV files. This will store all the dimensions inside the PC-Axis cube as a flat row. What the heck is a PC-Axis file?

Run yourself

First install the required dependencies. You need a new Node version (> 4.7).

npm install -g px-to-csv

Now download a PC Axis file from your statistical data provider.

wget -O households.px https://www.pxweb.bfs.admin.ch/DownloadFile.aspx?file=px-x-0102020000_402

Invoke the index.js file with the PX file and specify the output CSV file.

px-to-csv -i households.px -o households.csv