CsvArray Op

CsvArray

parse CSV files as array


Let’s you open uploaded CSV (character-separated-values)-files, which can be used to store tabular data, e.g.

Year,Make,Model,Description,Price
1997,Ford,E350,"ac, abs, moon",3000.00
1999,Chevy,"Venture ""Extended Edition""","",4900.00
1999,Chevy,"Venture ""Extended Edition, Very Large""",,5000.00
1996,Jeep,Grand Cherokee,"MUST SELL!
air, moon roof, loaded",4799.00

If your CSV-file has a header-row, you have to manually ignore it (index 0), or just delete it from the file.
The result will be a two-dimensional array containing the rows and individual row-values.


Edit Documentation

Full Name
  • Ops.Json.CsvArray
Visibility
  • Core Op - Official cables op
License
  • MIT
Author


 

INPUT PORTS


file (String)

The CSV-file you want to use in cables as an array

OUTPUT PORTS


result (Array)

The parsed two-dimensional array containing all the rows and columns from the CSV-file

num items (Number)

The number of rows


Patches using CsvArray

  • Examples
  • Public
  • My Patches