pivot-table-creator
v1.0.0
Published
A command-line tool to create pivot tables from CSV files
Downloads
2
Readme
Pivot-table-creator
This script generates a pivot table from a CSV file, with support for additional columns, row totals, and command line options. It is designed for large datasets and is memory-efficient.
Usage
- Install the required dependencies:
- npm install
- Run the script with the desired options:
$ node index.js -- [options]
Available options:
- -i, --input : Input CSV file path (default: "input.csv")
- -o, --output : Output CSV file path (default: "output.csv")
- -r, --rowDimension : Row dimension column index (default: 0)
- -c, --columnDimension : Column dimension column index (default: 1)
- -v, --valueDimension : Value dimension column index (default: 2)
- -e, --extraColumns : Additional column indexes to be included (default: "")
- --rowTotals: Include row totals in the output (default: false)
License
This project is licensed under the MIT License.