Skip to content

daniikpando/csv_decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CsvDecode

It's a CSV decoder for elixir language

Installation

If available in Hex, the package can be installed by adding csv_decode to your list of dependencies in mix.exs:

def deps do
  [
    {:csv_decode, "~> 0.1.0"}
  ]
end

Use

Use the main function something like that

alias CsvDecode

path = "./example_csv.csv"

schema = %{
  "Active" => :boolean,
  "Phone" => :string,
  "School" => :string,
  "State" => :string,
  "System ID" => :integer
}

CsvDecode.decode(path, schema)

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/csv_decode.

About

It's a csv decoder for elixir language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages