Skip to content

Data pipeline for converting NDOV passenger stop information (CHB) to JSON

Notifications You must be signed in to change notification settings

jurb/NDOV-CHB-to-JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script aims to

  • download all files from https://data.ndovloket.nl/haltes/ periodically
  • Of those files, rename the latest public transport information file (ExportCHB *.xml.gz) to a 'Latest' version
  • Unzip that file
  • Convert the XML to JSON, using a few parser settings
  • For now, filter on transport stops in Amsterdam

For more information, see the observable notebook at https://observablehq.com/@jurb/haltebestand-ndov-loket-xml-a11yjson

See https://github.com/BISONNL/CHB for the xsd of the xml.

Usage: node parseLatestCHB.js

About

Data pipeline for converting NDOV passenger stop information (CHB) to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published