<commit_before># Turkish General Elections 2015

Collects and analyzes election results.

## Data Collection
  - **scrape.py** : Scrapes province level vote shares from [Yenisafak](http://www.yenisafak.com.tr/secim-2015/secim-sonuclari) website
  - **data/TR2015.csv** : Province level vote shares (output of `scrape.py`)
  - **TEPLWeb.csv** : A great [dataset](http://www.luc.edu/faculty/gtezcur/data.html) of past Turkish elections by <NAME>

## Analysis
  - **analyze.py** : Plots 2011 vs 2015 vote shares for each party<commit_msg>README updated<commit_after># Turkish General Elections 2015

Collects and analyzes election results.

## Data Collection
  - **scrape.py** : Scrapes province level vote shares from [Yenisafak](http://www.yenisafak.com.tr/secim-2015/secim-sonuclari) website
  - **data/TR2015.csv** : Province level vote shares (output of `scrape.py`)
  - **TEPLWeb.csv** : A great [dataset](http://www.luc.edu/faculty/gtezcur/data.html) of past Turkish elections by <NAME>

## Analysis
  - **analyze.py** : Plots 2011 vs 2015 vote shares for each party
  - **VoteShifts.Rmd** : Simply calls the `multirate` function in `VTR.R` script developed by [Andreadis](http://www.polres.gr/en/vtr) and creates a contingency table of vote transitions: outputs `data/TransitionRates.csv` (note that these values are before they normalized by parties' actual vote shares in '11). Absolute vote share transitions is in `data/TransitionRates.csv`
{'fraction_non_alphanumeric': 0.12482758620689655, 'fraction_numerical': 0.028965517241379312, 'mean_word_length': 4.5807692307692305, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, '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': '6376773', 'n_tokens_mistral': 502, 'n_tokens_neox': 454, 'n_words': 144}