MOLE helps commuters plan their journey with a focus on comfort, using data analytics to inform their best course of action. Unlike standard routing apps, MOLE is designed for those who value a calmer travel experience.
- Daily commuters looking for quieter routes.
- Commuters with accessibility needs.
- Tourists lacking local knowledge of crowding or station facilities.
- Comfort-First Routing: Prioritizes lower crowding levels over pure speed.
- Live Crowding Feed: Real-time data visualization of station traffic.
- Station Amenities: View accessibility features (lifts, ramps) and facility details.
- Customizable Preferences: Filter by journey mode and specific accessibility requirements.
- Language: R
- Framework: Shiny (Dashboard)
- Data Sources:
- TfL API: Live transport data, station facilities, and journey routing.
- Google Maps API: Geolocation and map display.
- Google Weather API: Real-time weather integration.
Prerequisites
You will need R and RStudio installed.
-
Clone the repo
Download the zip file or clone the repository.
git clone https://github.com/leehananne/mole.git -
Setup .Renviron file
Create .Renviron file with Google Maps API key and map style ID.
GMAP_API_KEY = MAP_ID_KEY = -
Install Dependencies
In your R terminal,
install.packages(c("ggplot2", "httr", "jsonlite", "scales", "plotly", "bslib", "purrr", "dplyr", "lubridate", "DT")) -
Run the App
Open
app.Rin RStudio and click “Run App”