singapore-train-data

2.0.2 • Public • Published

Forked version of sgraildata

Generate and download data

const { download, generate } = require('sgraildata');

// Generate data from static datasets 
let dataset = generate(); 

// Get latest data by running download
download(); 
let freshDataSet = generate(false); 

This is a data-only repository to complement RailRouter SG.

The data

It's in the /data folder.

Changelog in CHANGELOG.md.

Notes

  • ids are not guaranteed to be unique
  • Rail line coordinates are not guaranteed to match the real tracks. They are also simplified and smoothed.
  • Station buildings data is not complete;
    • Incomplete underground building data
    • Missing aboveground building data
    • Missing multiple levels (Ground level, basement level, etc)
  • Some exits data are inaccurate and incomplete

Data sources

/singapore-train-data/

    Package Sidebar

    Install

    npm i singapore-train-data

    Weekly Downloads

    0

    Version

    2.0.2

    License

    ISC

    Unpacked Size

    2.78 MB

    Total Files

    29

    Last publish

    Collaborators

    • zingzinco