wdiv-scrapers / DC-PollingStations-Barnet

Polling station and district data from Barnet Borough Council


Scrape polling station and district data from Barnet Borough Council

Contributors chris48s

Last run failed with status code 255.

Console output of last run

Injecting configuration and compiling...  -----> Python app detected  ! The latest version of Python 3 is python-3.6.2 (you are using python-3.4.3, which is unsupported).  ! We recommend upgrading by specifying the latest version (python-3.6.2).  Learn More: https://devcenter.heroku.com/articles/python-runtimes -----> Installing python-3.4.3 -----> Installing pip -----> Installing requirements with pip  DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).  Collecting git+https://github.com/wdiv-scrapers/dc-base-scrapers.git (from -r /tmp/build/requirements.txt (line 1))  Cloning https://github.com/wdiv-scrapers/dc-base-scrapers.git to /tmp/pip-req-build-tr8wtsqb  Running command git clone -q https://github.com/wdiv-scrapers/dc-base-scrapers.git /tmp/pip-req-build-tr8wtsqb  Collecting arcgis2geojson<3,>=2 (from dc-base-scrapers==0.0.0->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/bc/ba/63a864c36846908d251f8687170fc07ee37e2fb015ebfa6579356b0ff305/arcgis2geojson-2.0.1-py3-none-any.whl  Collecting commitment<3,>=2 (from dc-base-scrapers==0.0.0->-r /tmp/build/requirements.txt (line 1))  Downloading https://files.pythonhosted.org/packages/7b/c3/3d624f891a1052d2d71bb286df491d7d3363bbf592107a0f64f3b2338931/commitment-2.0.2-py3-none-any.whl  Collecting geojson-rewind==0.2.0 (from dc-base-scrapers==0.0.0->-r /tmp/build/requirements.txt (line 1))  ERROR: Could not find a version that satisfies the requirement geojson-rewind==0.2.0 (from dc-base-scrapers==0.0.0->-r /tmp/build/requirements.txt (line 1)) (from versions: 0.1.0, 0.1.1)  ERROR: No matching distribution found for geojson-rewind==0.2.0 (from dc-base-scrapers==0.0.0->-r /tmp/build/requirements.txt (line 1))

Data

Downloaded 13 times by wdiv-scrapers chris48s

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (176 KB) Use the API

rows 10 / 716

dataset created revision_id url format
polling-stations-in-barnet
2016-05-26T13:11:06.153768
0ac57e30-fc72-4021-912a-a91fad2e1b5a
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
CSV
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv
polling-stations-in-barnet
2016-05-26T13:11:06.581Z
https://files.datapress.com/barnet/dataset/polling-stations-in-barnet/2016-05-26T13:10:59/Polling Stations 2016.csv
csv

Statistics

Average successful run time: half a minute

Total run time: about 13 hours

Total cpu time used: 11 minutes

Total disk space used: 199 KB

History

  • Auto ran revision 0ec16e8d and failed .
    nothing changed in the database
  • Auto ran revision 0ec16e8d and failed .
    nothing changed in the database
  • Auto ran revision 0ec16e8d and failed .
    nothing changed in the database
  • Auto ran revision 0ec16e8d and failed .
    nothing changed in the database
  • Auto ran revision 0ec16e8d and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

DC-PollingStations-Barnet / scraper.py