Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavincabbage/gtfs-timeseries
Playing with GTFS-realtime data in time series databases
https://github.com/gavincabbage/gtfs-timeseries
gtfs gtfs-realtime influxdb telegraf time-series timescaledb
Last synced: about 1 month ago
JSON representation
Playing with GTFS-realtime data in time series databases
- Host: GitHub
- URL: https://github.com/gavincabbage/gtfs-timeseries
- Owner: gavincabbage
- License: mit
- Created: 2023-01-27T16:56:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-23T13:21:41.000Z (over 1 year ago)
- Last Synced: 2024-06-20T20:39:30.788Z (6 months ago)
- Topics: gtfs, gtfs-realtime, influxdb, telegraf, time-series, timescaledb
- Language: Go
- Homepage:
- Size: 445 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gtfs-timeseries
Playing with [GTFS-realtime](https://developers.google.com/transit/gtfs-realtime) data in timeseries database. Uploading and querying data to [InfluxDB Cloud](https://cloud2.influxdata.com/signup) using the new [IOx storage engine](https://github.com/influxdata/influxdb_iox) and TimeseriesDB Cloud.
## Contents
- `telegraf/`
- A Telegraf `execd` plugin written in Go that polls GTFS-realtime data
- `export/`
- Python code to query GTFS-realtime data in InfluxDB IOx via FlightSQL and TimescaleDB via PostgreSQL and convert it to GeoJSON
- `config.toml`
- Telegraf configuration using the GTFS-realtime plugin in this repo to write to InfluxDB and TimescaleDB
- `keplergl.ipynb`
- Juypter Notebook using KeplerGL to visualize data exported with the Python code in this repo
## ResourceLinks I used while putting this together:
- [Visualizing Bus Trajectories in Denver](https://towardsdatascience.com/visualizing-bus-trajectories-in-denver-85ff02f3a746)
- [Visualizing Istanbul Bus Traffic With Python and KeplerGL](https://medium.com/swlh/visualizing-istanbul-bus-traffic-with-python-and-keplergl-a84895788825)
- [Using KeplerGL in JupyterLab](https://docs.kepler.gl/docs/keplergl-jupyter#keplergl)