Question : elixir read csv file
Answered by : tense-turtle-bspt2d8k5igu
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 : https://hexdocs.pm/csv/CSV.html | Last Update : Fri, 07 May 21