Skip to content

Tool for automatically generating simulated datasets of Boston Public School students and their school assignments.

License

Notifications You must be signed in to change notification settings

data-mechanics/bps-simulated-data

Repository files navigation

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

About

Tool for automatically generating simulated datasets of Boston Public School students and their school assignments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published