42

As part of my development I need to process some .csv files.

For what it matters I am writing a super fast CSV parser in java

I would like to ask if somebody can name some websites where I can find some good csv files so I can test my app.

Please don't tag this question is inappropriate I think developers would benefit from a list of good sites where to find sample data

warren
  • 32,620
  • 21
  • 85
  • 124
chacko
  • 5,004
  • 9
  • 31
  • 39
  • 1
    You can consider all your test cases and generate csv file to have full test cases coverage. – khachik Nov 09 '10 at 11:57
  • https://www.google.com/search?q=filetype:csv I recommend you write one yourself, add empty lines, quoted values which contains commas and newline, add chinese characters, add comments #, also try large files and empty files. – Christophe Roussy May 11 '17 at 09:19

7 Answers7

30

The baseball archive can be downloaded in CSV format. The batting statistics file contains a little over 90,000 rows of data which should be helpful in performance testing your app.

James McMahon
  • 48,506
  • 64
  • 207
  • 283
Jeff Knecht
  • 2,518
  • 1
  • 14
  • 12
8

You can download the Sample CSV Data Files from this site.

Examples:

Sample Insurance Data

Real Estate Data

Sales Transactions Data

shasi kanth
  • 6,987
  • 24
  • 106
  • 158
6

See also this question on sample data.

I've used http://www.fakenamegenerator.com for these purposes in the past.

Community
  • 1
  • 1
warren
  • 32,620
  • 21
  • 85
  • 124
3

Another good source is baseball reference. Pick whatever baseball player or manager you can think of.

http://www.baseball-reference.com/managers/coxbo01.shtml

cokedude
  • 379
  • 1
  • 11
  • 21
1

This is a site that is in beta that can give you data in JSON, XML or CSV. All lists are customizable. This is a sample call to return data as CSV: http://mysafeinfo.com/api/data?list=dowjonescompanies&format=csv Documentation on lists, formats and options under documentation: http://mysafeinfo.com/content/documentation - Over 80 data sets available - see a full list under Datasets on the main menu

user1745124
  • 149
  • 1
  • 3
0

If you're looking for some large CSV files with real-world data, try http://www.baseball-databank.org.

Daryl Spitzer
  • 143,156
  • 76
  • 154
  • 173
0

Severals very nice testing csv files : http://support.spatialkey.com/spatialkey-sample-csv-data/

Sample insurance portfolio, Real estate transactions, Sales transactions, Company Funding Records, Crime Records

Thank you for the question !

PhilippeThomas
  • 141
  • 1
  • 9