Code Monkey home page Code Monkey logo

raildataengine's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

raildataengine's Issues

Schedule Job Housekeeping

The schedule job needs an extra process to delete all of the records that have expired since the previous import.

recordGateway.destroy(x => x.endDate < DateTime.Now);

This should keep the schedule in check when importing the daily deltas.

Source

Figure out how to power @LaterThanTen

I've created the Twitter account. But haven't figured out exactly how to power it or what messages to tweet.

  • Cancellations?
  • Early terminations?
  • Trains that are later than 10 minutes departing from a station.
if (message.VariationType == VariationType.Late && message.TimetableVariation >= 10)
    //tweet that shit

TOC - _ORIGINAL_LOCATION_TIMESTAMP - schedule information has departed LOCATION_STANOX xL

Need to get information from the schedule database using the train ID which should be in the movement message that the tweetbot service will receive. The schedule information will provide the information to make it meaningful. Such as:

FGW - 1710 BRI > PAD - 10L from RDG

Not sure where to get the delay reason from yet. Maybe some funkyness with pulling in the darwin feed for that waypoint. Possible with obtaining the crs code from the Tiploc/Stanox information.

Implement the rest of the api controllers

Once #3 is completed the station board Darwin feed will be close to feature complete.

Some more controllers to start working on:

  • train movement controller
  • train describer controller

I think using the current method of catching not implemented exceptions and returning the 501 http code is nice and will also allow deployments to happen at any point.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.