Skip to content

striblab/dispatch-response-times

Repository files navigation

Dispatch Response Times

A look at dispatch/911 response time in the Twin Cities.

Data sources and analysis

  • Data crunching and analysis managed in dispatch-analysis.
    • Dispatch data analysis from the lib/hexbin-analysis.js output.
      • Convert to topojson.
        • ./node_modules/.bin/geo2topo ../dispatch-analysis/data/build/hexbin-analysis.geo.json > ./sources/hexbin-analysis.topo.json
        • ./node_modules/.bin/geo2topo ../dispatch-analysis/data/build/hexbin-analysis-police.geo.json > ./sources/hexbin-analysis-police.topo.json
    • Hour analysis from lib/hour-analysis.js
      • cp ../dispatch-analysis/data/build/hour-analysis.json ./sources/mpd-response-times-by-hour.json
    • Hour analysis from lib/neighborhood-analysis.js
      • cp ../dispatch-analysis/data/build/neighborhood-analysis.json ./sources/mpd-response-times-by-neighborhood.json
  • Minneapolis fire stations
    • mkdir -p data/sources && wget -O data/sources/mpls-fire-stations.zip "https://opendata.arcgis.com/datasets/e697e12884fd4421abaf4a71b513f509_0.zip" && unzip data/sources/mpls-fire-stations.zip -d data/sources/mpls-fire-stations && ogr2ogr -f GeoJSON sources/mpls-fire-stations.geo.json data/sources/mpls-fire-stations/MFD_FireStations.shp -t_srs "EPSG:4326"
  • Minneapolis police stations
    • mkdir -p data/sources && wget -O data/sources/mpls-police-stations.zip "https://opendata.arcgis.com/datasets/cb05984116c146cfa6ee35d32f664bd7_0.zip" && unzip data/sources/mpls-police-stations.zip -d data/sources/mpls-police-stations && ogr2ogr -f GeoJSON sources/mpls-police-stations.geo.json data/sources/mpls-police-stations/Police_Stations.shp -t_srs "EPSG:4326"
  • St. Paul police stations manually compiled from the SPPD website, specifically this map.

Publishing

See docs/publishing.md.

Application data

See docs/application-data.md.

CMS integration

See docs/cms.md.

Development

See docs/development.md.

Files and directories

See docs/development.md.

Managing multiple pages

See docs/pages.md.

Testing

See docs/testing.md.

Code styles

See docs/code-styles-linting.md.

License

Code is licensed under the MIT license included here. Content (such as images, video, audio, copy) can only be reused with express permission by Star Tribune.

Generated

Generated by Star Tribune StribLab generator on 2018-11-28T16:23:57.158Z.

About

A look at dispatch/911 response time in the Twin Cities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published