Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

elixir read csv file

iex> "../test/fixtures/docs/valid.csv"
iex> |> Path.expand(__DIR__)
iex> |> File.stream!
iex> |> CSV.decode
iex> |> Enum.take(2)
[ok: ["a","b","c"], ok: ["d","e","f"]]
Source by hexdocs.pm #
 
PREVIOUS NEXT
Tagged: #elixir #read #csv #file
ADD COMMENT
Topic
Name
1+4 =