We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › reading CSV files
Page Index Toggle Pages: 1
reading CSV files (Read 3678 times)
reading CSV files
May 28th, 2008, 4:10pm
 
hello,

has anyone got any suggestions for a good CSV reading library?  i know that i could use the split function, but i'd really like something higher level that will try to handle all the little exceptions that occur in a CSV file (and read the header row for column names).

maybe there is something in java that i could import?
Re: reading CSV files
Reply #1 - May 28th, 2008, 4:55pm
 
I typed java csv in Google and found http://www.csvreader.com/java_csv.php in first page...
Re: reading CSV files
Reply #2 - May 28th, 2008, 5:19pm
 
i guess i was looking more for a suggestion of one that someone has tested in Processing (the google search turned up many choices for me, too), but i guess i can start with that one and see how i like it.
Re: reading CSV files
Reply #3 - Aug 3rd, 2009, 7:37pm
 
Hi I was wondering if any of you had some good success implementing this library into your sketch ?

cheers o.
Re: reading CSV files
Reply #4 - Aug 3rd, 2009, 11:02pm
 
i can highly recommend Ben Frys book on "Data visualisation" that helpt me a lot when it comes to reading data from CSV files.

He offers a great solution that makes it easy to get every information out of a CSV needed.He offers some examples you could download if you own the book. http://benfry.com/writing/archives/3

You should really consider buying it, its a great resource.
Page Index Toggle Pages: 1