Skip to content

Making schedule data for the Lynx Blue Line available in an easily consumable JSON file

Notifications You must be signed in to change notification settings

OpenCLTBrigade/blue-line-schedule-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lynx Blue Line Schedule JSON

Introduction

We want to produce a single JSON file that gives developers access to the raw schedule data for the Lynx Blue Line.

This project was started as a way for the original developer to build a mini train station platform sign for his desk that would announce the next train time at the nearby station. The code is being shared publicly so developers can create their own projects for themselves or the community. CATS unfortunately does not publish data like this to Charlotte's Open Data Portal and we would love to see that change in the near future.

Contributing

There are four files (inbound and outbound for weekday and weekend), we want to combine these files into a single JSON file and export it. Future projects can include building an SDK or even a website that uses the finished JSON file. We can also publish it to an open data site.

There should be at least a weekly automated build of this project. If a breaking change is made to the schedule data we will be notified. In that event, contributions are welcome.

This project is intended to let developers work with the Lynx Blue Line station schedule. We will be tracking the times a train is scheduled to arrive at a station, not the individual stops of a train sequence.

The schedule site for the Blue line uses JSON files like this to populate its data.

The resulting data structure should be something like this:

[
  {
    stationData: { name, order },
    schedules: {
      weekend: { inbound: [], outbound: [] },
      weekday: { inbound: [], outbound: [] }
    }
  }
]

For more information and development plans, visit the project board.

About

Making schedule data for the Lynx Blue Line available in an easily consumable JSON file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published