mysociety / france-elections-legislatives-results-2017

Results from the second round of the elections législatives 2017 in France


This is a scraper that runs on Morph. To get started see the documentation

This scrapes the results of the French legislative elections from 2017 from here: http://elections.interieur.gouv.fr/legislatives-2017/index.html

Contributors mhl struan

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-2.7.9  $ pip install -r requirements.txt  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to /app/.heroku/src/scraperwiki  Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 8))  Downloading lxml-3.4.4.tar.gz (3.5MB)  Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 9))  Downloading cssselect-0.9.1.tar.gz  Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading requests-2.18.1-py2.py3-none-any.whl (88kB)  Collecting urllib3<1.22,>=1.21.1 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading urllib3-1.21.1-py2.py3-none-any.whl (131kB)  Collecting idna<2.6,>=2.5 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading idna-2.5-py2.py3-none-any.whl (55kB)  Collecting certifi>=2017.4.17 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading certifi-2017.4.17-py2.py3-none-any.whl (375kB)  Collecting chardet<3.1.0,>=3.0.2 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)  Installing collected packages: dumptruck, urllib3, idna, certifi, chardet, requests, scraperwiki, lxml, cssselect  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py develop for scraperwiki  Running setup.py install for lxml: started  Running setup.py install for lxml: still running...  Running setup.py install for lxml: finished with status 'done'  Running setup.py install for cssselect: started  Running setup.py install for cssselect: finished with status 'done'  Successfully installed certifi-2017.4.17 chardet-3.0.4 cssselect-0.9.1 dumptruck-0.1.6 idna-2.5 lxml-3.4.4 requests-2.18.1 scraperwiki urllib3-1.21.1   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... 001/index.html 001 002/index.html 002 003/index.html 003 004/index.html 004 005/index.html 005 006/index.html 006 007/index.html 007 008/index.html 008 009/index.html 009 010/index.html 010 011/index.html 011 012/index.html 012 013/index.html 013 014/index.html 014 015/index.html 015 016/index.html 016 017/index.html 017 018/index.html 018 019/index.html 019 02A/index.html 02A 02B/index.html 02B 021/index.html 021 022/index.html 022 023/index.html 023 024/index.html 024 025/index.html 025 026/index.html 026 027/index.html 027 028/index.html 028 029/index.html 029 030/index.html 030 031/index.html 031 032/index.html 032 033/index.html 033 034/index.html 034 035/index.html 035 036/index.html 036 037/index.html 037 038/index.html 038 039/index.html 039 040/index.html 040 041/index.html 041 042/index.html 042 043/index.html 043 044/index.html 044 045/index.html 045 046/index.html 046 047/index.html 047 048/index.html 048 049/index.html 049 050/index.html 050 051/index.html 051 052/index.html 052 053/index.html 053 054/index.html 054 055/index.html 055 056/index.html 056 057/index.html 057 058/index.html 058 059/index.html 059 060/index.html 060 061/index.html 061 062/index.html 062 063/index.html 063 064/index.html 064 065/index.html 065 066/index.html 066 067/index.html 067 068/index.html 068 069/index.html 069 070/index.html 070 071/index.html 071 072/index.html 072 073/index.html 073 074/index.html 074 075/index.html 075 076/index.html 076 077/index.html 077 078/index.html 078 079/index.html 079 080/index.html 080 081/index.html 081 082/index.html 082 083/index.html 083 084/index.html 084 085/index.html 085 086/index.html 086 087/index.html 087 088/index.html 088 089/index.html 089 090/index.html 090 091/index.html 091 092/index.html 092 093/index.html 093 094/index.html 094 095/index.html 095 971/index.html 971 972/index.html 972 973/index.html 973 974/index.html 974 975/index.html 975 976/index.html 976 977/index.html 977 987/index.html 987 988/index.html 988 099/index.html 099 ./986/986.html 986

Data

Downloaded 4714 times by mysociety mhl chrismytton

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (1.07 MB) Use the API

rows 10 / 9023

area_id % Inscrits dep_id Elu(e) cir_number Liste des candidats Tour Nuances Voix % Exprimés gender
ref:001-01
16,37
001
Ballotage*
1
M. Laurent MALLET
1
MDM
13 534
33,89
M
ref:001-01
12,93
001
Ballotage*
1
M. Xavier BRETON
1
LR
10 693
26,78
M
ref:001-01
7,47
001
Non
1
M. Jérôme BUISSON
1
FN
6 174
15,46
M
ref:001-01
4,68
001
Non
1
Mme Fabrine MARTIN ZEMLIK
1
FI
3 874
9,70
F
ref:001-01
4,46
001
Non
1
Mme Florence BLATRIX-CONTAT
1
SOC
3 687
9,23
F
ref:001-01
0,79
001
Non
1
M. Jacques FONTAINE
1
COM
656
1,64
M
ref:001-01
0,68
001
Non
1
Mme Laurane RAIMONDO
1
ECO
562
1,41
F
ref:001-01
0,35
001
Non
1
Mme Maude LÉPAGNOT
1
EXG
293
0,73
F
ref:001-01
0,30
001
Non
1
Mme Marie CARLIER
1
DIV
247
0,62
F
ref:001-01
0,26
001
Non
1
M. Gilbert BONNOT
1
DIV
211
0,53
M

Statistics

Average successful run time: 3 minutes

Total run time: 19 minutes

Total cpu time used: 1 minute

Total disk space used: 1.1 MB

History

  • Manually ran revision 73979963 and completed successfully .
    2 records updated in the database
  • Manually ran revision e3e8a885 and completed successfully .
    9023 records updated in the database
  • Manually ran revision 4485d44e and completed successfully .
    3 records added, 3 records updated in the database
  • Manually ran revision d9868102 and completed successfully .
    8972 records added, 9020 records removed, 48 records updated in the database
  • Manually ran revision 764d9916 and completed successfully .
    9020 records added, 8972 records removed in the database
  • ...
  • Created on morph.io

Show complete history