Urban Mobility Analysis is an interactive dashboard that visualizes transit data for different cities! It's like having the pulse of a city's transportation network at your fingertips. Watch as buses zoom, subway stations buzz with activity, and discover the secret rhythms of urban movement!
- Multi-City Support: Explore transit patterns in New York, London, Tokyo, and more!
- Beautiful Visualizations: Colorful charts and maps that make data come alive
- Temporal Analysis: Discover when cities wake up, rush around, and wind down
- Spatial Patterns: See where people go and how they move around the city
- Route Analysis: Dive deep into specific transit routes
- Efficiency Metrics: Find out which modes of transport are working hardest
This app is powered by the wonderful world of:
- R - For all the data wrangling magic
- Shiny - Making everything interactive and sparkly
- Leaflet - Beautiful maps to explore
- Plotly - Interactive charts that dance when you hover
- dplyr - Transforming data like a wizard
- ggplot2 - Creating visualizations that tell stories
- R (version 4.0.0 or higher)
- RStudio (recommended for the best experience)
-
Clone this repository to your local machine:
git clone https://github.com/malavikaswapna/urban-mobility-analysis.git
-
Open the project in RStudio
-
Install the required packages:
install.packages(c("shiny", "shinydashboard", "leaflet", "dplyr", "ggplot2", "lubridate", "DT", "plotly", "sf", "tidyr", "scales", "viridis", "RColorBrewer", "shinyWidgets", "shinycssloaders", "igraph", "tidygraph", "ggraph"))
-
Run the application:
shiny::runApp()
-
Watch the transportation data dance before your eyes! ๐๐บ
- Select a City: Choose from the dropdown menu on the sidebar
- Choose a Date Range: Focus on specific time periods
- Pick a Transit Type: Filter by bus, subway, rail, or tram
- Explore the Tabs: Each tab reveals different insights about urban mobility
Get a bird's-eye view of the city's transit system with key metrics and trends
Discover the rhythms of the city - when do people ride? When do they sleep?
See where the action happens on beautiful interactive maps
Dive deep into individual routes and their performance
Compare different transit modes and find opportunities for improvement
For the data detectives who want to see the raw numbers
Don't have real GTFS data? No problem! This app comes with adorable sample data that mimics real transit patterns. Perfect for playing around!
Discover ridership patterns throughout the day, week, and month
See where transit activity concentrates across the city
Analyze individual route performance and passenger flows
Compare the efficiency of different transit modes and stations
Dive into the raw data tables to find hidden insights
- Real-time Data Integration: Watch the city move in real-time
- Predictive Analytics: Forecast tomorrow's transit patterns
- More Cities: Add your own hometown to the analysis
- Weather Impact Analysis: See how rain and shine affect ridership
- Event Detection: Automatically detect unusual transit patterns
Contributions welcome! If you have ideas for making this transit dashboard even more amazing, please:
- Fork the repository
- Create a feature branch
- Add your magical improvements
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Coffee โ - For powering the late-night coding sessions
- Public transit agencies worldwide ๐ - For making cities move
- The R community ๐ - For creating amazing data visualization tools
- You ๐ - For checking out this project!
Made with โค๏ธ for transit nerds everywhere