<commit_before># csv-converter

A ruby script to convert [version 0.9](http://cricsheet.org/format/) [Cricsheet YAML data files](http://cricsheet.org/downloads/) into CSV.

The CSV generated is considered an **experimental** Cricsheet format. Originally CSV data was provided for only T20 and IPL matches, however that has now expanded to include all matches. The CSV version was originally created in response to a request for a simple version of the data in CSV format (rather than YAML). The data it generates is not as complete as the YAML data and, currently, does not fully support all fields. A list of [known limitations](#known-limitations) can be found below.

The data generated is similar to, but **not exactly the same as**, that provided on the [Cricsheet downloads](http://cricsheet.org/downloads/) page. The data generated by the `convert.rb` script does not include values for `season`, `match_number`, `series`, `reserve_umpire`, `tv_umpire`, or `match_referee`, unlike that provided on the website. A future version of this converter will include these fields.  

## Installation<commit_msg>Update to use https for cricsheet.org<commit_after># csv-converter

A ruby script to convert [version 0.9](https://cricsheet.org/format/) [Cricsheet YAML data files](https://cricsheet.org/downloads/) into CSV.

The CSV generated is considered an **experimental** Cricsheet format. Originally CSV data was provided for only T20 and IPL matches, however that has now expanded to include all matches. The CSV version was originally created in response to a request for a simple version of the data in CSV format (rather than YAML). The data it generates is not as complete as the YAML data and, currently, does not fully support all fields. A list of [known limitations](#known-limitations) can be found below.

The data generated is similar to, but **not exactly the same as**, that provided on the [Cricsheet downloads](https://cricsheet.org/downloads/) page. The data generated by the `convert.rb` script does not include values for `season`, `match_number`, `series`, `reserve_umpire`, `tv_umpire`, or `match_referee`, unlike that provided on the website. A future version of this converter will include these fields.

## Installation
{'fraction_non_alphanumeric': 0.07973273942093541, 'fraction_numerical': 0.0035634743875278397, 'mean_word_length': 4.957559681697613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3560458', 'n_tokens_mistral': 601, 'n_tokens_neox': 566, 'n_words': 308}