OpenDataScotland / the_od_bods

Collating open data from across Scotland
MIT License
21 stars 18 forks source link

Add Stagecoach Open Data as a source #120

Open JackGilmore opened 2 years ago

JackGilmore commented 2 years ago

On the back of some Twitter enquiries about bus open data I discovered Stagecoach publish their schedules and fares as open data: https://www.stagecoachbus.com/open-data

As these are just file downloads as a page we'll need to write a scraper for this.

Considerations

johnnymck commented 2 years ago

The page states that the data is

available to the public, for personal, educational or commercial use

so we should be fine to publish this ourselves.

Furthermore, the data is auto-updating, ie. when fares get updated, so we should really make wee scrape script to update this data every so often.

JackGilmore commented 2 years ago

Sweet! I think the best way to split these up would be to have a dataset per region and then have the individual files with the schedules and fares attached to the dataset e.g.

JackGilmore commented 2 years ago

@johnnymck did you manage to get anything started on this that you could commit to a branch/fork?