Skip to content

Commit

Permalink
#52 Correcting North Yorkshire data
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveBathnes committed Mar 9, 2020
1 parent 1a59b71 commit e17424d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 28 deletions.
26 changes: 13 additions & 13 deletions data/north_yorkshire.csv
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
organisation,mobile,route,community,stop,address,postcode,geox,geoy,day,type,arrival,departure,frequency,start,end,exceptions,timetable
North Yorkshire,Supermobile,Monday,Robin Hoods Bay,Station Road Coach and Car Park,"Station Road Coach and Car Park, Robin Hoods Bay",,-0.536960,54.435823,Monday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-13,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Sleights,Coach park,"Coach park, Sleights",,-0.663082,54.460489,Monday,Public,13:30,15:30,FREQ=WEEKLY;INTERVAL=2,2020-01-13,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Rosedale,Telephone kiosk,"Telephone kiosk, Rosedale",,-0.887359,54.353577,Monday,Public,17:00,19:00,FREQ=WEEKLY;INTERVAL=2,2020-01-13,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Tuesday,Eggborough,Horse and Jockey,"Horse and Jockey, Eggborough",,-1.149200,53.705505,Tuesday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-14,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Tuesday,Kirk Smeaton,Shoulder of Mutton,"Shoulder of Mutton, Kirk Smeaton",,-1.215872,53.643745,Tuesday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-14,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Osmotherley,Oswaldene estate,"Oswaldene estate, Osmotherley",,-1.303647,54.368740,Thursday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-16,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Cowling,Methodist Church Hall,"Methodist Church Hall, Cowling",,-2.039758,53.884717,Thursday,Public,15:00,17:00,FREQ=WEEKLY;INTERVAL=2,2020-01-16,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Friday,Sheriff Hutton,Village Hall,"Village Hall, Sheriff Hutton",,-1.009158,54.087411,Friday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-17,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Friday,Slingsby,The Green,"The Green, Slingsby",,-0.933045,54.165017,Friday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-17,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Weaverthorpe,Opposite Village Hall,"Opposite Village Hall, Weaverthorpe",,-0.529451,54.124083,Monday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-06,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Sherburn,Village Hall,"Village Hall, Sherburn",,-1.505101,54.774579,Monday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-06,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Hovingham,Hall Green,"Hall Green, Hovingham",,-0.979590,54.172378,Monday,Public,17:00,19:00,FREQ=WEEKLY;INTERVAL=2,2020-01-06,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Robin Hoods Bay,Station Road Coach and Car Park,"Station Road Coach and Car Park, Robin Hoods Bay",,-0.536960,54.435823,Monday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-13,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Rosedale,Telephone kiosk,"Telephone kiosk, Rosedale",,-0.887359,54.353577,Monday,Public,17:00,19:00,FREQ=WEEKLY;INTERVAL=2,2020-01-13,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Sherburn,Village Hall,"Village Hall, Sherburn",,-0.530053,54.181773,Monday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-06,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Sleights,Coach park,"Coach park, Sleights",,-0.663082,54.460489,Monday,Public,13:30,15:30,FREQ=WEEKLY;INTERVAL=2,2020-01-13,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Monday,Weaverthorpe,Opposite Village Hall,"Opposite Village Hall, Weaverthorpe",,-0.529451,54.124083,Monday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-06,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Saturday,Hunmanby,White Swan,"White Swan, Hunmanby",,-0.323404,54.180957,Saturday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-11,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Castleton,Ashfield Road/Church Street,"Ashfield Road/Church Street, Castleton",,-0.937803,54.462948,Thursday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-09,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Cowling,Methodist Church Hall,"Methodist Church Hall, Cowling",,-2.039758,53.884717,Thursday,Public,15:00,17:00,FREQ=WEEKLY;INTERVAL=2,2020-01-16,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Danby,Village Hall,"Village Hall, Danby",,-0.908934,54.468003,Thursday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-09,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Osmotherley,Oswaldene estate,"Oswaldene estate, Osmotherley",,-1.303647,54.368740,Thursday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-16,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Staithes,Car and coach park,"Car and coach park, Staithes",,-0.792846,54.556025,Thursday,Public,17:00,19:00,FREQ=WEEKLY;INTERVAL=2,2020-01-09,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Tuesday,Balne,Thorntree Lane Crossroads,"Thorntree Lane Crossroads, Balne",,-1.113070,53.664863,Tuesday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-07,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Tuesday,Brotherton,United Reformed Church,"United Reformed Church, Brotherton",,-1.270365,53.728006,Tuesday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-07,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Tuesday,Eggborough,Horse and Jockey,"Horse and Jockey, Eggborough",,-1.149200,53.705505,Tuesday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-14,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Tuesday,Kirk Smeaton,Shoulder of Mutton,"Shoulder of Mutton, Kirk Smeaton",,-1.215872,53.643745,Tuesday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-14,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Wednesday,Buckden,National Parks coach and car park,"National Parks coach and car park, Buckden",,-2.089754,54.192196,Wednesday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-08,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Wednesday,Kettlewell,National Parks coach and car park,"National Parks coach and car park, Kettlewell",,-2.050708,54.146445,Wednesday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-08,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Danby,Village Hall,"Village Hall, Danby",,-0.908934,54.468003,Thursday,Public,10:30,12:30,FREQ=WEEKLY;INTERVAL=2,2020-01-09,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Castleton,Ashfield Road/Church Street,"Ashfield Road/Church Street, Castleton",,-0.937803,54.462948,Thursday,Public,14:00,16:00,FREQ=WEEKLY;INTERVAL=2,2020-01-09,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Thursday,Staithes,Car and coach park,"Car and coach park, Staithes",,-0.792846,54.556025,Thursday,Public,17:00,19:00,FREQ=WEEKLY;INTERVAL=2,2020-01-09,,,https://www.northyorks.gov.uk/supermobile-library
North Yorkshire,Supermobile,Saturday,Hunmanby,White Swan,"White Swan, Hunmanby",,-0.323404,54.180957,Saturday,Public,10:00,12:00,FREQ=WEEKLY;INTERVAL=2,2020-01-11,,,https://www.northyorks.gov.uk/supermobile-library
12 changes: 6 additions & 6 deletions data/north_yorkshire_routes.csv

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions data/north_yorkshire_routes.geojson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raw/north_yorkshire.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Thursday,Cowling,Methodist Church Hall,15:00,17:00,2020-01-16,53.884717,-2.03975
Friday,Sheriff Hutton,Village Hall,10:00,12:00,2020-01-17,54.087411,-1.009158
Friday,Slingsby,The Green,14:00,16:00,2020-01-17,54.165017,-0.933045
Monday,Weaverthorpe,Opposite Village Hall,10:30,12:30,2020-01-06,54.124083,-0.529451
Monday,Sherburn,Village Hall,14:00,16:00,2020-01-06,54.774579,-1.505101
Monday,Sherburn,Village Hall,14:00,16:00,2020-01-06,54.181773,-0.530053
Monday,Hovingham,Hall Green,17:00,19:00,2020-01-06,54.172378,-0.979590
Tuesday,Balne,Thorntree Lane Crossroads,10:30,12:30,2020-01-07,53.664863,-1.113070
Tuesday,Brotherton,United Reformed Church,14:00,16:00,2020-01-07,53.728006,-1.270365
Expand Down
4 changes: 2 additions & 2 deletions scripts/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from shapely.geometry import LineString

API_KEY = '5b3ce3597851110001cf624860a035e0c0bf48c690561cefd3ff4769'
STOP_DATA = '../data/hillingdon.csv'
OUTPUT_DATA = '../data/hillingdon_routes.geojson'
STOP_DATA = '../data/north_yorkshire.csv'
OUTPUT_DATA = '../data/north_yorkshire_routes.geojson'

def run():
"""Runs the main script"""
Expand Down

0 comments on commit e17424d

Please sign in to comment.