Skip to content

Phils0/RailOpenDataPowershell

Repository files navigation

Powershell Scripts to access UK Rail Open Data resources

Some scripts to download various open data file resources

The Powershell SecurityPolicy needs to relax to allow the script to run. The easiest way to do this is to temporarily bypass it

Network Rail Schedule Files

  • NetworkRail_Schedule_Download.ps1
  • Parameters: user, password (from your NRE account) and optional output file path. File downloaded is in CIF format.
  • Further details can be found on the rail open data wiki.

National Rail DTD Files

  • NationalRail_OpenData_Download.ps1
  • Parameters: user password (from your opendata.nationalrail.co.uk account), data file type: Timetable, Fares, RouteingGuide and optional output file path
  • Further details can be found on the rail open data wiki.

National Rail Darwin Timetable Files

  • Darwin_Timetable_Download.ps1
  • Parameters: AWS access and secret key (from your opendata.nationalrail.co.uk account Darwin Feed File Information) and optional output file path
  • Further details can be found on the rail open data wiki
  • Has a dependency upon AWS Tools for Powershell (S3) - instructions to install can be found here

About

Powershell helper scripts to interact with UK Open Rail data sources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published