<commit_before># data_processing
(geo)data processing, database setup, data validation

## Installation

Installation of latest release

```
(sudo) pip3 install dataprocessing
```

Installation (of developer version) via pip on linux systems as follows

```
sudo pip3 install -e <path-to-data_processing-repo>
```

### Troubleshooting

#### On Windows
1. __Problem__: Installation of required package shapely fails. __Solution__: Install pre-build
 wheel from [here](http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely)


 ## Run

 You can run data processing by calling command-line script

 ```
 ~$ ega_data_processing
 ```    
<commit_msg>add copyleft info to readme #62<commit_after># eGo dataprocessing
(geo)data processing, database setup, data validation

# Copyleft

Code licened under "GNU Affero General Public License Version 3 (AGPL-3.0)"
It is a collaborative work with different copyright owner:
Cite as "eGo dataprocessing  ZNES  Reiner Lemoine Institut  NEXT ENERGY"

## Installation

Installation of latest release

```
(sudo) pip3 install dataprocessing
```

Installation (of developer version) via pip on linux systems as follows

```
sudo pip3 install -e <path-to-data_processing-repo>
```

### Troubleshooting

#### On Windows
1. __Problem__: Installation of required package shapely fails. __Solution__: Install pre-build
 wheel from [here](http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely)


 ## Run

 You can run data processing by calling command-line script

 ```
 ~$ ega_data_processing
 ```    

{'fraction_non_alphanumeric': 0.09908136482939632, 'fraction_numerical': 0.007217847769028871, 'mean_word_length': 4.776515151515151, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4241480', 'n_tokens_mistral': 498, 'n_tokens_neox': 463, 'n_words': 159}