wdiv-scrapers / DC-PollingStations-Scarborough

Polling station data from Scarborough Borough Council


Scrape polling station data from Scarborough Borough Council

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

Contributors chris48s

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-3.4.3  $ pip install -r requirements.txt  Collecting git+https://github.com/chris48s/arcgis2geojson.git (from -r requirements.txt (line 1))  Cloning https://github.com/chris48s/arcgis2geojson.git to /tmp/pip-mbjsl94x-build  Collecting git+https://github.com/wdiv-scrapers/dc-base-scrapers.git (from -r requirements.txt (line 2))  Cloning https://github.com/wdiv-scrapers/dc-base-scrapers.git to /tmp/pip-x2c4oyj8-build  Collecting lxml==3.6.4 (from dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading lxml-3.6.4-cp34-cp34m-manylinux1_x86_64.whl (4.2MB)  Collecting retry==0.9.2 (from dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading retry-0.9.2-py2.py3-none-any.whl  Collecting scraperwiki==0.5.1 (from dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading scraperwiki-0.5.1.tar.gz  Collecting decorator>=3.4.2 (from retry==0.9.2->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading decorator-4.0.11-py2.py3-none-any.whl  Collecting py<2.0.0,>=1.4.26 (from retry==0.9.2->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading py-1.4.32-py2.py3-none-any.whl (82kB)  Collecting requests (from scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading requests-2.12.4-py2.py3-none-any.whl (576kB)  Collecting six (from scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading six-1.10.0-py2.py3-none-any.whl  Collecting sqlalchemy (from scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading SQLAlchemy-1.1.5.tar.gz (5.1MB)  Collecting alembic (from scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading alembic-0.8.10.tar.gz (976kB)  Collecting Mako (from alembic->scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading Mako-1.0.6.tar.gz (575kB)  Collecting python-editor>=0.3 (from alembic->scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading python-editor-1.0.3.tar.gz  Collecting MarkupSafe>=0.9.2 (from Mako->alembic->scraperwiki==0.5.1->dc-base-scrapers==0.0.0->-r requirements.txt (line 2))  Downloading MarkupSafe-0.23.tar.gz  Installing collected packages: arcgis2geojson, lxml, decorator, py, retry, requests, six, sqlalchemy, MarkupSafe, Mako, python-editor, alembic, scraperwiki, dc-base-scrapers  Running setup.py install for arcgis2geojson: started  Running setup.py install for arcgis2geojson: finished with status 'done'  Running setup.py install for sqlalchemy: started  Running setup.py install for sqlalchemy: finished with status 'done'  Running setup.py install for MarkupSafe: started  Running setup.py install for MarkupSafe: finished with status 'done'  Running setup.py install for Mako: started  Running setup.py install for Mako: finished with status 'done'  Running setup.py install for python-editor: started  Running setup.py install for python-editor: finished with status 'done'  Running setup.py install for alembic: started  Running setup.py install for alembic: finished with status 'done'  Running setup.py install for scraperwiki: started  Running setup.py install for scraperwiki: finished with status 'done'  Running setup.py install for dc-base-scrapers: started  Running setup.py install for dc-base-scrapers: finished with status 'done'  Successfully installed Mako-1.0.6 MarkupSafe-0.23 alembic-0.8.10 arcgis2geojson-1.0.0 dc-base-scrapers-0.0.0 decorator-4.0.11 lxml-3.6.4 py-1.4.32 python-editor-1.0.3 requests-2.12.4 retry-0.9.2 scraperwiki-0.5.1 six-1.10.0 sqlalchemy-1.1.5   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... found 73 stations 73 stations in database

Data

Downloaded 105 times by wdiv-scrapers chris48s

To download data sign in with GitHub

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

rows 10 / 68

table timestamp content_hash council_id
stations
2016-10-15T16:01:48+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-16T07:18:15+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-17T01:04:17+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-18T00:32:43+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-19T03:33:51+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-20T08:55:14+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-24T01:19:38+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-24T11:22:31+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-25T04:11:11+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d
stations
2016-10-26T22:44:34+00:00
10dfc5a5a30d405fa9ed04b8ce9f78f3ee63129d

To download data sign in with GitHub

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

rows 10 / 73

street town postcode pk room id ward_name council_id geometry property
Longwestgate
Scarborough
YO11 1QB
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732d
Infants Department Hall
1
Castle
E07000168
{"properties": {"street": "Longwestgate ", "town": "Scarborough ", "postcode": "YO11 1QB ", "id": "1 ", "property": "Friarage CP School ", "room": "Infants Department Hall ", "ward_name": "Castle "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732d", "geometry": {"type": "Point", "coordinates": [-0.3959990977362417, 54.28447680425865]}, "geometry_name": "geom"}
Friarage CP School
Egton
Whitby
YO21 1UT
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732c
12
Esk Valley
E07000168
{"properties": {"street": "Egton ", "town": "Whitby ", "postcode": "YO21 1UT ", "id": "12 ", "property": "Egton Parish Hall ", "room": " ", "ward_name": "Esk Valley "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732c", "geometry": {"type": "Point", "coordinates": [-0.7541757924987806, 54.444598852924386]}, "geometry_name": "geom"}
Egton Parish Hall
53 Coach Road
Sleights
YO22 5BT
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732b
13
Esk Valley
E07000168
{"properties": {"street": "53 Coach Road ", "town": "Sleights ", "postcode": "YO22 5BT ", "id": "13 ", "property": "Sleights Village Hall ", "room": " ", "ward_name": "Esk Valley "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732b", "geometry": {"type": "Point", "coordinates": [-0.663139108386084, 54.4580141857313]}, "geometry_name": "geom"}
Sleights Village Hall
Sneaton
Whitby
YO22 5HP
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732a
14
Esk Valley
E07000168
{"properties": {"street": "Sneaton ", "town": "Whitby ", "postcode": "YO22 5HP ", "id": "14 ", "property": "Sneaton Village Hall ", "room": " ", "ward_name": "Esk Valley "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-732a", "geometry": {"type": "Point", "coordinates": [-0.6195355871043746, 54.45729039003599]}, "geometry_name": "geom"}
Sneaton Village Hall
Seamer Road
Scarborough
YO12 4DT
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7329
15
Falsgrave Park
E07000168
{"properties": {"street": "Seamer Road ", "town": "Scarborough ", "postcode": "YO12 4DT ", "id": "15 ", "property": "St James Parish Hall ", "room": " ", "ward_name": "Falsgrave Park "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7329", "geometry": {"type": "Point", "coordinates": [-0.4158387873883236, 54.273887500053924]}, "geometry_name": "geom"}
St James Parish Hall
Seamer Road
Scarborough
YO12 4DH
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7328
17
Falsgrave Park
E07000168
{"properties": {"street": "Seamer Road ", "town": "Scarborough ", "postcode": "YO12 4DH ", "id": "17 ", "property": "Falsgrave Resource Centre ", "room": " ", "ward_name": "Falsgrave Park "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7328", "geometry": {"type": "Point", "coordinates": [-0.4167122744814782, 54.26226564317889]}, "geometry_name": "geom"}
Falsgrave Resource Centre
John Street
Filey
YO14 9DQ
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7327
19
Filey
E07000168
{"properties": {"street": "John Street ", "town": "Filey ", "postcode": "YO14 9DQ ", "id": "19 ", "property": "The Concert Hall ", "room": " ", "ward_name": "Filey "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7327", "geometry": {"type": "Point", "coordinates": [-0.28682611912987593, 54.20870084496904]}, "geometry_name": "geom"}
The Concert Hall
Queen Street
Scarborough
YO11 1HG
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7326
Lower Hall
2
Castle
E07000168
{"properties": {"street": "Queen Street ", "town": "Scarborough ", "postcode": "YO11 1HG ", "id": "2 ", "property": "Queen Street Central Hall ", "room": "Lower Hall ", "ward_name": "Castle "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7326", "geometry": {"type": "Point", "coordinates": [-0.3979839502815712, 54.28385782981434]}, "geometry_name": "geom"}
Queen Street Central Hall
Hawsker
Whitby
YO22 4LE
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7325
20
Fylingdales
E07000168
{"properties": {"street": "Hawsker ", "town": "Whitby ", "postcode": "YO22 4LE ", "id": "20 ", "property": "Hawsker Cum Stainsacre Hall ", "room": " ", "ward_name": "Fylingdales "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7325", "geometry": {"type": "Point", "coordinates": [-0.5800286259347087, 54.455024737785415]}, "geometry_name": "geom"}
Hawsker Cum Stainsacre Hall
Royal Oak
Hunmanby
YO14 9QF
Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7324
Function Room
21
Hertford
E07000168
{"properties": {"street": "Royal Oak ", "town": "Hunmanby ", "postcode": "YO14 9QF ", "id": "21 ", "property": "The Royal Oak ", "room": "Function Room ", "ward_name": "Hertford "}, "type": "Feature", "id": "Polling_Stations_Open.fid--32a6e4a1_159ad69f89b_-7324", "geometry": {"type": "Point", "coordinates": [-0.298930676539911, 54.18812056184364]}, "geometry_name": "geom"}
The Royal Oak

Statistics

Average successful run time: half a minute

Total run time: about 1 hour

Total cpu time used: 1 minute

Total disk space used: 127 KB

History

  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
  • Manually ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and failed .
    nothing changed in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and failed .
    nothing changed in the database
  • Auto ran revision 2a421185 and failed .
    nothing changed in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and failed .
    nothing changed in the database
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
    3 pages scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and failed .
    nothing changed in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 98 records updated in the database
    1027 pages scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1191 pages scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
  • Auto ran revision 2a421185 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Auto ran revision 2a421185 and completed successfully .
    1 record added, 73 records updated in the database
    1 page scraped
  • Manually ran revision 2a421185 and completed successfully .
    74 records added in the database
    1 page scraped
  • Created on morph.io