Skip to content

Real-time bus tracking simulation for Surat, Gujarat routes using R Shiny and Google Maps. Interactive web app that demonstrates public transit tracking concepts.

Notifications You must be signed in to change notification settings

GithubSolver123/bus-tracking-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bus Tracker Surat

A live bus tracking app that shows real-time movement along popular routes in Surat, Gujarat. Built with R Shiny and Google Maps to simulate how public transit tracking works in the real world.

What it does

Watch a bus travel from Udhna Darwaja to Sachin GIDC, stopping at 10 major locations along the way. The red marker shows where the bus is right now, updating every 2 seconds. Perfect for understanding how transit apps work behind the scenes.

Quick start

  1. Install R packages:

    install.packages(c("shiny", "shinydashboard", "googleway", "dplyr"))
  2. Get a Google Maps API key:

  3. Add your API key:

    • Update api_key.R with your actual key
    • Keep this file private (never commit to GitHub)
  4. Run the app:

    shiny::runApp()

Hit "Start Bus" and watch it move! The blue line shows the complete route.

Files

  • app.R - The main application
  • bus_routes.csv - Bus stop coordinates
  • api_key.R - Your Google Maps key (keep private)

Built for a data science project, this demonstrates real-world transit tracking concepts using familiar Surat locations.

About

Real-time bus tracking simulation for Surat, Gujarat routes using R Shiny and Google Maps. Interactive web app that demonstrates public transit tracking concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages