Created
May 24, 2017 08:44
-
-
Save dgadiraju/a4c57e5c4c72815c0f1421ace8eb727f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import scala.io.Source | |
| val fileName = "/Users/itversity/Research/data/elections/ls2014.tsv" | |
| val results = Source.fromFile(fileName).getLines | |
| // results is now a collection of type Iterator[String] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment