Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Native CSV parser for Scala
Scala
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
project
src
.gitignore
LICENSE
README

README

scalacsv - A CSV parser in Scala

Simple, easy to use, hopefully correct.

Parsing from a string:

  scala> val rows = CSV.fromString("foo,bar\nfoz,baz")
  rows: Vector[Vector[String]] = Vector(Vector(foo, bar), Vector(foz, baz))

Parsing from a file:

  scala> val rows = CSV.fromFile("foo.csv")
  rows: Vector[Vector[String]] = Vector(Vector(foo, bar), Vector(foz, baz))

Includes tests against files exported from Google Docs and Excel 2008 for Mac.
Please send me short test files from any other programs you want supported.
Something went wrong with that request. Please try again.