Background

Under COVID-19 pandemic in 2021, when new imported cases is reported, Macau SAR will launch one round of city-wide nucleic tests to prevent the corona-virus from spreading to local communities.
This is an exploratory data analysis of Macau’s 3rd time city-wide NAT over the period of October 4th 9pm - 7th 9pm.
This time Macau Government and the Health Bureau has shorten the overall period, targeting to complete process for over 600k citizens within 48 hours.
(There were 8 locations kept swab station working as usual for continuing after the first 48 hour)

The questions we seek here are:
- What time is the most busy time during day?
- If any location is over stressed or too free?
- If overall performance is well balanced among each location?

Data Sources

  1. City-wide Nucleic Acid Test Booking Stats
    As the sources claims the “Number of booking will only be counted when it is valid”, therefore the number is treated as the fact number of swab done in our analysis.
    A backup of the data source is available upon requirement:
    [https://github.com/adamzerg/SSM-RNA-Test/blob/main/RNA010/20211004.7z]

PreventCovid-image-tag

  1. Special webpage against Epidemics - Near real-time waiting stats at each swab station location
    The source is refreshed about every 10 minutes, source including number of swab stations by nasal / mouth, locations by category, waiting time.
    A backup of the data source is available upon requirement:
    [https://github.com/adamzerg/SSM-RNA-Test/blob/main/aptmon-scraping/20211004.7z]

Station-image-tag

  1. Expected Formula
    Load balance at one location =
    Source 1:Number of Swab per 30 minutes / Source 2: (Nasal Swab Desks + Mouth Swab Desks)

Data Prep

  1. Source 1 is Excel, preparation including

RNA010-image-tag

  1. Source 2 is web scraped by setting schedule, preparation including

Data Wrangling

  1. Since Source 2 are scraped from near real time, need to:
  1. Extract geolocation information

  2. Merge two sources into one, only category B remains after merged

Preliminary Analysis

  1. Fact Ratios

  1. When time is the most busiest time in a day?

  1. Location stats

  1. Station load balance

  1. Map

By Venetian Cotai Arena, 2nd day is less stressed comparing to the 1st day

Venetian-image-tag

There are about 20 swab desks, by 2nd day noon only 5-6 is operating and there is nearly no waiting queue

Venetian-image2-tag

Summary

Reference

8個常規核酸檢測站在全民核酸檢測結束後將重新開放並延長服務時間
今(4)日晚上9時至10月7日晚上9時進行第三次全民核酸檢測
第 3 次較第 2 次全民核檢首 3 小時採樣人數多 各個採樣站點的輪候情況理想

qr-tag