<commit_before>readSMI
=======

Reads SMI eye-tracking files.

###How to install:##

```R
install.packages("devtools")
library(devtools)
install_github("thohag/readSMI")
```

###How to use:###
Convert your iViewX data files (idf) to plain text with the IDF Converter before using this package.

```R
library(readSMI)
data = readSMI("plain_text_idf_export.txt")
```<commit_msg>Reformat and expansion of README<commit_after>readSMI
=======

Reads SMI eye-tracking files.

## How to install

```R
install.packages("devtools")
library(devtools)
install_github("thohag/readSMI")
```

## How to use

Convert your iViewX data files (idf) to plain text with SMI Vision's IDF Converter before using this package. [Reportedly](https://en.wikipedia.org/wiki/SensoMotoric_Instruments), SMI Vision was acquired by Apple in 2017 and the [IDF Converter is currently only _officially_ available as part of an iTools bundle](https://stackoverflow.com/q/50413910/1169233).

```R
library(readSMI)
data = readSMI("plain_text_idf_export.txt")
```
{'fraction_non_alphanumeric': 0.1326829268292683, 'fraction_numerical': 0.018536585365853658, 'mean_word_length': 6.027397260273973, 'pattern_counts': {'":': 0, '<': 3, '<?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': '691629', 'n_tokens_mistral': 367, 'n_tokens_neox': 338, 'n_words': 101}