Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 2.35 KB

README.md

File metadata and controls

37 lines (25 loc) · 2.35 KB

Simulated Student and Bus Route Data for Boston Public Schools

Tool for automatically generating simulated data sets of Boston Public Schools students, their school assignments, their bus stop assignments, and bus routes.

Usage

To install all requirements:

python -m pip install --upgrade --no-cache-dir -r requirements.txt

To execute the script and generate individual data sets (placed in the output subdirectory by default):

python generate-bus-data.py
python generate-student-data.py
python generate-stop-data.py
python generate-route-data.py

To generate an Excel workbook that assembles all the generated data (appropriate for submission to the bps-challenge-score scoring tool):

python generate-assembled-data.py

Example Output

Once the student data has been generated, load output/students.html in any browser to view a rendering that uses the Leaflet library. Likewise, once the route data has been generated you can view it at output/routes.html.

Visualization of generated student data using Leaflet Visualization of generated route data using Leaflet

Data Sources