We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm beginning to use Processing for a series of visualizations and I want to head in with some best practices. Looking through the documentation, some tutorials and other examples, it seems the main two ways to handle data are as arrays of strings and tables. Are there specific benefits of one approach or a generally accepted better option?
I would like to handle csv files, ranging in size from 30-400 pieces of data. Tables seem to be better for this and easier to export from Excel, but the lack of methods dealing with columns is worrying.
Example string array:
int data; String steps = loadStrings("data.txt"); // Convert string into an array of intetegers, comma delimited data = int(split(steps, ','));
versus a table implementation:
Table table = loadTable("data.csv", "header"); TableRow data = table.getRow(0);