|
| 1 | + |
| 2 | +# EV, Traffic & Weather Analysis |
| 3 | + |
| 4 | +This repository contains data and notebooks for exploring the relationship between traffic conditions, EV charging station data, and weather conditipons and a predictive model of the traffic volume. |
| 5 | +## Project components |
| 6 | + |
| 7 | +### Datasets |
| 8 | + |
| 9 | +1. **`Weather data.csv`** |
| 10 | + Contains daily weather observations for a single station (Melbourne Airport) from 2022 to 2023. Important columns: |
| 11 | + - `DATE` – observation date |
| 12 | + - `PRCP` – daily precipitation (mm) |
| 13 | + - `TAVG` – average temperature (°C) |
| 14 | + - `TMAX` – maximum temperature (°C) |
| 15 | + - `TMIN` – minimum temperature (°C) |
| 16 | + |
| 17 | +2. **`Traffic data.csv`** |
| 18 | + Contains road segments with traffic counts, direction, year, and geometry. Important columns: |
| 19 | + - `OBJECTID` – unique ID per segment |
| 20 | + - `Label` – includes traffic count information (e.g. `450(92)`) |
| 21 | + - `Direction` – direction of travel (e.g. `both`) |
| 22 | + - `SHAPE_Length` – segment length in map units |
| 23 | + - `Year` – year of the traffic count |
| 24 | + - `geometry` – `LINESTRING` geometry in WKT format |
| 25 | + |
| 26 | +3. **`EV stations data.csv`** |
| 27 | + Contains EV charging stations information. Important columns: |
| 28 | + - `OBJECTID` – unique ID per station |
| 29 | + - `Type` – type of stall or meter |
| 30 | + - `RatePerHour` – hourly parking/charging rate |
| 31 | + - `MaxTime` – maximum allowed parking time |
| 32 | + |
| 33 | +### Notebooks |
| 34 | + |
| 35 | +1. **`Data_Exploration_Analysis.ipynb`** |
| 36 | + Jupyter notebook used for initial data exploration and cleaning of the three datasets (traffic, EV stations, and weather). Includes: |
| 37 | + - Loading the CSV files |
| 38 | + - Inspecting basic statistics and distributions |
| 39 | + - Visualising temporal and spatial patterns |
| 40 | + |
| 41 | +2. **`T3-2025.ipynb`** |
| 42 | + Main modelling notebook. This notebook: |
| 43 | + - Engineers features from the raw datasets |
| 44 | + - Builds a combined modelling table |
| 45 | + - Trains and evaluates a regression model to predict traffic volume |
0 commit comments