1 / 25

Data Montgomery Experience

This project focuses on creating an interactive map for shelters in Montgomery County and analyzing incident data received by the Montgomery County Fire & Rescue Service (MCFRS). The project includes data clean-up, descriptive statistics, and the final product of the interactive map and incident analysis. Recommendations for enhancing the map and the MCFRS dataset are also provided.

millhouse
Download Presentation

Data Montgomery Experience

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Montgomery Experience Final report presentation Brian Perez | DATA 205 Capstone in Data Science | Wednesday, may 1st 2019

  2. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  3. Overview of the project plan • Shelters Interactive Map • Goal 1 – Create services that allow users to interact with geographical data via a web-based interactive map • Dataset – Emergency Shelter Activation Status • Tools – HTML, JavaScript, Leaflet JS, Bing, AWS S3 (hosting), Route 53 (Domain Name Registration) • Montgomery Country Fire & Rescue Service (MCFRS) Incident Analysis • Goal 2 – Provide an analysis of 911 calls received by MCFRS to better understand the nature, frequency and locations of the calls • Dataset – MCFRS_Incidents_by_Station, Population MD, Zip Code Shape File • Tools – Python, Geopy, Nominatim, pandas, numpy, matplotlib, seaborn, statsmodels.api, datetime, Tableau

  4. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  5. Shelters Interactive Map – Data Clean Up • Extracted shelter data (GeoJSON) via Socrata’s API function – Active Shelters Link • All shelters are listed as CLOSED • Created mock data with a few shelters listed as OPEN • Included Hospital and Police stations in the area • Source:dataMontgomery (hospitals), and GIS Open Data (police stations) • API Links changes when new data gets uploaded to dataMontgomery • Old Link (Mar-19): https://data.montgomerycountymd.gov/resource/4yqk-nikt.geojson • New Link (Apr -19): https://data.montgomerycountymd.gov/resource/mhua-idee.geojson

  6. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  7. Shelters Interactive Map – Final product THE PRODUCT THE PROCESS http://itforaid.org/map/mcshelters.html - Test http://itforaid.org/map/mcshelterslive.html - Live

  8. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  9. Shelters Interactive Map – Recommendations • Provide additional details for shelters • Maximum capacity permitted • Description of services offered • Point of Contact: email and number • Shelter type (e.g. school, rec. center, community center) • Set static API links when updating data in Socrata • Increase number of pet friendly shelters • Enhancements to the application: • Find nearest open shelter based on a user’s location • Integrate app. with mapping apps • Add layers such as road closures and traffic conditions • Provide additional details for Police Stations dataset on Data Montgomery

  10. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  11. MCFRS Incident Analysis – Data Clean Up Isolate Addresses Drop Duplicates Get Lat/Long Merge Lat/Long to Incidents • Geocoding Incident Data • Reclassifying Call Types: From 99 to 5 Types ('Health', 'Structural/Environment', 'Threat/Legal', 'Service', 'UNK’) • Time Series Analysis Date Format: Add expected date formats for Time Series and Seasonal Decomposition Analysis • Tableau Analysis & Dashboard

  12. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  13. MCFRS Incident Analysis – Descriptive Stats Barplot - Calls Received - Agg. 3/2014 - 2/2019 Barplot - Calls Received by Year - Agg. 2014 - 2019

  14. MCFRS Incident Analysis – Descriptive Stats 2019 does not have a full year of data

  15. MCFRS Incident Analysis – Descriptive Stats Drop due to missing data on 3/2014

  16. MCFRS Incident Analysis – Descriptive Stats Removed March 2014

  17. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  18. MCFRS Inc. Analysis – Seasonal decomposition Observed = Trend + Seasonal + Residual Calls increase over time, perhaps due to increase in population Spikes at the start of each year, perhaps due to the flu common during the winter Observed = Trend + Seasonal + Residual Trend = Overall change over time Seasonal = Change within a given period Residual = Random variation in the series

  19. MCFRS Incident Analysis – Tableau dashboard

  20. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  21. MCFRS Incident Analysis – Data Story Calls by City 2014 - 2019 73% of calls are Health related Specifically Sickness The majority of the calls occur in Silver Spring (162,500) Gaithersburg-Washington Grove Volunteer Fire Department (Station 8) has received the most calls: 49,135 Trend of Health Calls Received • Most Health calls occur during the winter months • Staff Centers Accordingly • Increase Flu Shot Availability Note: Info based on data Apr 2014 – Mar 2019

  22. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  23. MCFRS Incident Analysis – Recommendations • Add lat/long coordinates for the Fire Stations • Add Time Stamp of Call • Validate Zip Codes and Addresses

  24. Agenda • Overview Of Project Plan • Shelters Interactive Map • MCFRS Incident Analysis • Shelters Interactive Map • Data Clean Up • Descriptive Statistics • Final Product: The map • Data Story • Recommendations • MCFRS Incident Analysis • Data Clean Up • Descriptive Statistics • Final Product: The Analysis • Data Story • Recommendations • dataMontgomery Experience • Acknowledgements

  25. Experiences & Acknowledgements • Pros of dataMontgomery • Open Government: Montgomery County’s commitment to increasing transparency and citizen involvement in general aspects of e-Government services • Support: Quick Response from Data Owners/Staff • Accessible: As a first time Socrata user, the tool meets its goal of making data accessible to the average non-technical user. • Cons of dataMontgomery • Navigation: Navigation can be cumbersome with a large amount of unvalidated data sets and views • Maps: Mapping functionality was limited • APIs: API links should be static if possible • Acknowledgements • Kathryn L -- Dennis L -- Kathy L -- Mayro N – Peter P – Carlos C • stackOverflow -- machinelearningmastery.com -- http://sopac-old.ucsd.edu/convertDate.shtml -- data.imap.maryland.gov

More Related