Coder Social home page Coder Social logo

waynewu6250 / taipei-city-fire-department-data-processing Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 11.74 MB

This is the code work fully composed by Ting-Wei Wu to support and accelerate taipei city fire department information analysis

Jupyter Notebook 86.45% Python 13.55%
python3 selenium vba-excel pandas numpy xlwt openpyxl

taipei-city-fire-department-data-processing's Introduction

Taipei-City-Fire-Department-Data-Processing

This is the code work fully composed by Ting-Wei Wu to support and accelerate taipei city fire department information analysis

1. Excel VBA work for weekly and monthly report analysis

  • month_fire_event_depart_time_analysis.txt: Calculate the average departure time for every fire divisions in Taipei City monthly.
  • month_service.txt: Analysis of different public service such as snake, bee capturing etc monthly.
  • week_fire_event_analysis.txt: Analysis of fire events and phone calls analysis.
  • week_fire_post.txt: Analysis of public service associated with fire events weekly.

2. day folder: python scraping with selenium:

  • Use day.ipynb or daily-event-processing.ipynb to do online scraping from fire department database every day. Record every event's time, divisions, and event contents.
  • Import utils.py for weekday processing; Import utils-weekend.py for weekend processing.

3. week folder: python downloads with selenium and os:

  • Automatically download excel files and file manipulation in os for excel vba work.
  • Scrape the service event of fire divisions by cell phone call for the satisfaction survey purposes.

4. month folder: python scraping with selenium:

  • Use month.ipynb to record monthly fire rescue events with dispatch, travel and arrival time for tracking and improvements.

5. rescue folder: python scraping with selenium:

  • Manage daily event departure time calculation of each divisions for rescue events.

6. html_scraping folder: python scraping with selenium:

  • Consecutive Checking with availability of url links on Taipei City Fire Department homepage and subpages.

7. disable folder: python pandas and selenium:

  • Automatically input all information of people with disability into the personnel database.

8. weather_analysis folder: python pandas

  • Data processing to find relations between weather condition and personal refusal to hospital delivery when rescued.

9. locate folder: python pandas and selenium

  • Automatic validation for vague city address collected in dispatch system by searching on website of Taipei City Department of Civil Affairs.

taipei-city-fire-department-data-processing's People

Contributors

waynewu6250 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

weidylan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.