<commit_before># RCsvLoader

Mange a csv file more easily.

## Usage

Only 3 steps to start.

### 0. Prepare a csv file.

```

"id","file name"
"1","file_01.zip"

```

### 1. Define a class that represent csv schema.

```ruby

require 'rcsv_loader'

class SampleCsv < RCsvLoader::Base
  column 'id'
  column 'file name', :file_name<commit_msg>add travis build status in README.md<commit_after># RCsvLoader

Mange a csv file more easily.

[![Build Status](https://travis-ci.org/osadake212/rcsv_loader.svg?branch=master)](https://travis-ci.org/osadake212/rcsv_loader)

## Usage

Only 3 steps to start.

### 0. Prepare a csv file.

```

"id","file name"
"1","file_01.zip"

```

### 1. Define a class that represent csv schema.

```ruby

require 'rcsv_loader'

class SampleCsv < RCsvLoader::Base
  column 'id'
  column 'file name', :file_name
{'fraction_non_alphanumeric': 0.14916467780429593, 'fraction_numerical': 0.021479713603818614, 'mean_word_length': 4.211180124223603, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3763359', 'n_tokens_mistral': 338, 'n_tokens_neox': 314, 'n_words': 90}