/traveltime

Generate heatmaps based on speed conditions

Primary LanguageJupyter NotebookMIT LicenseMIT

Travel-time Maps by Speed: Learning Project

Take in data input (.csv), generate heatmaps based on speed condition with printed timestamps

Installation

Use the package manager pip to install all requirements

pip install -r /path/to/requirements.txt

As Package

pip install traveltimemap

As Library

import timestamp

# returns heatmap with travel time statistics & direction
map_direction('path/to/data.csv')

# returns heatmap with travel time statistics
get_timestamp('path/to/data.csv')

# returns heatmap
get_map('path/to/data.csv')

# save to build directory
map = get_map('path/to/data.csv')
save_map(map, name='map-name')

Demo

demo