1.0.0 • Published 2 years ago

pivot-table-creator v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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

  1. Install the required dependencies:
  2. npm install
  3. 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.

1.0.0

2 years ago