Awards & Nominations

Days Against Covid has received the following awards and nominations. Way to go!

Global Nominee

Days Against Covid

High-Level Project Summary

We developed 3 core aspects, including a mobile application that enables the user to access live COVID-19 statistics that are provided nationally and globally.An AI trained chatbot gathers data from end-user sources regarding their geolocation pertaining to Covid19 cases, and a risk-warning system that advises the user not to enter a (Covid-19) specified area. The chatbot works as an awareness tool to advocate safety protocols.Finally, a game was made to educate the younger community about COVID prevention; it "solves" the challenge as it highlights that the virus would be more easily contracted without a face mask. It is imperative that children understand the need for face masks.

Detailed Project Description

Precursor:

Research/Graphing of Coronavirus Data:


Graphs of the relationship between Vaccination and COVID Cases:


Graph 1: https://drive.google.com/file/d/1gi-b9n2aj9yST9gjK1YEKKAHWCe1PVpJ/view?usp=sharing

Graph 2: https://drive.google.com/file/d/1X8t9Mtp5EtoKa2sOrMtQn-EOQ9ux_2zJ/view?usp=sharing



The graphs both show that as the rate of vaccination increases, the number of COVID-19 cases decreases as well. This is because a vaccine injects a substance with the antigens of COVID-19 and instructs the body to create specific antibodies which can chemically destroy the antibodies. After, some remaining lymphocytes will become memory cells that contain instructions to produce the specific antibody if the pathogen were to ever enter the body again. So if a fully vaccinated person encounters a real COVID-19 virus, its body knows how to counteract the virus and protect the host. Therefore, fewer Covid cases are confirmed after the vaccination rate increases because fewer people can contract the virus.  


Graph 3: https://drive.google.com/file/d/148-6nm9p0eVXGxXKPI2sttmewlrjxiA7/view?usp=sharing

Graph 4: https://drive.google.com/file/d/18RbD4Y6PW1czzOWI-yy5gRiumPvf-rBC/view?usp=sharing


Graphs of the relationship between COVID prevention measures and COVID Cases:

In both of these Scenarios in Hong Kong and Singapore, an increase or creation of COVID-19 restrictions successfully decreased the number of Covid Cases in their given periods of time. For example, in August 2020 in Hong Kong, there was a significant local community Covid outbreak that caused cases to skyrocket compared with previous months. So, on August 10th, the HK government implemented tighter Covid restrictions such as home-based learning and temperature checks. The government also encouraged its citizens to stay at home as much as possible and only go out to buy personal and household necessities, to avoid dining out and unnecessary social activities. As a result, many activities and jobs were also moved online with services such as Zoom. In Singapore, the total number of Covid Cases began to rise so a circuit breaker was implemented by the government. The actions taken were similar to those of the HK government. However, the changes in Singapore gradually occurred over a few months, whereas the HK cases began to decrease quite rapidly after the tighter restrictions. In both cases, the overall trend showed a general and steady decrease with some fluctuations of sudden increases or decreases of COVID cases. In HK, after the tighter restrictions on August 10th, it can be noted that the graph shows more frequent dips below the trend line, whereas there were less frequent dips before August 10th. These graphs show that a city-wide change can reduce the number of COVID-19 cases over time. 




Mobile Application:


What does our code do?


Our code enables the user to view the interface and interact with it by searching geographic locations of countries through a placeholder box to find out the number of cases, deaths and recoveries in that specific country. The code also provides a live statistics bar graph chart indicating the increase of the number of covid19 cases in the recent seven days (in the past week) and a live GUI scale of COVID-19 cases, deaths, recoveries and persons in serious conditions. Our code uses the API to integrate live statistics features into the SwiftUI Kit Framework.


How does it work?


Part 1: Enabling API endpoints



https://drive.google.com/file/d/1kRrZyrzRYI2_zGbv46IP7wU3haIqy1GS/view?usp=sharing


The above image is the documentation of the API. We have circled specifically two endpoints in the API called “Day one all status” and “Day one live”. We will be using those data endpoints and integrating them into the XCode system.


Part 2: XCode Application


https://drive.google.com/file/d/1ofZ5KxrF7JQkfD8ZGHAGZfNZMbPjXKHG/view?usp=sharing


This is the XCode application and files that we have created in order to start the process of making the mobile application


Part 3: Explaining Code Process


https://drive.google.com/file/d/1av6qyly0og_sTyFWo47heTyyOqrixLc6/view?usp=sharing








  1. The big red circle on the left shows the swift files we have created and the automated folders XCode has provided in order for us to get on with the project. 
  2. In this specific file “AppDelegate.swift” we have imported a UI Kit with the help of a tutorial on youtube. The UI Kit is the IOS framework that implements the standard UI components for IOS applications. This framework helps streamline our design process and saves time.



https://drive.google.com/file/d/1cAPtj9reQ8ZNWk9ph3q0IBzDgnWTUg2R/view?usp=sharing



Circled 1


“struct ContentView: View” creates a new struct (structure) that conforms to the View protocol. The “View” comes from SwiftUI and is the basic protocol that must be adopted by anything you want to design or draw on the screen (iPhone Simulator). For example (Buttons, texts, images are all views)

 

Below the ContentView struct, you see a ContentView_Previews struct, which conforms to the PreviewProvider protocol. This piece of code won’t actually form part of your final app that goes to the App Store but is instead specifically for Xcode to use so it can show a preview of your UI design alongside your code.


Circled 2


Moving on to the actual content of the application, I have created a structured home where there is an @state property wrapper that would allow you to modify the values inside the struct.


Circled 3


This is the VStack and HStack sections that are horizontal and vertical views which allows you to see the layout of the whole application.



Moving on to the content of the application, this is the source code method that we used to create multiple sections of the User Interface on the application. 


https://drive.google.com/file/d/1n4OJI1LN7Ch4C50fDFEimMA3QWsnk8dO/view?usp=sharing


This is where the logic comes in for both the API as well as the live data statistics. We have found a search for a Covid19 API online that generates live statistics. 


The JSON decoder in this instance decoded the data type from JSON objects.


This is the logic part for decoding the data and sorting them out in “cases” depending on the variables “MyCountry” and “Global”. 


The JSON decoder works on the API, in order for there to be live statistics. We used a for loop that changes the variable count to +=1 after every live case is shown on the application.


What benefits does it have?


This brings all the live data to one location making the application reliable, accurate and helpful. The more people that use the app, the more they will understand what is going on in the world and interpret what countries need to help solve their national Covid19 crisis. With the knowledge of Covid19 statistics in their country through using the mobile application, this will help people realise what they need to do to prevent spreading the virus to other people and recognise the severity of the virus. Finally, the application is organised neatly and concisely, making it easier for people to understand what is going on, especially for old people. Since old people are not really great with technology, they can open an app with a single button and subsequently gather all the information.


What tools, coding languages, hardware or software did you use to develop this project?


Coding Language: Swift 

Software: Apple Xcode version 12.5.1

GitHub Repository - to store and commit the files. 


Days Against COVID(Game):


The code and graphics we have written have been deliberately designed to provide children and adults alike entertainment and education regarding the need to wear a facemask. The benefit that the game entails is that it is easy to play with an enthralling storyline that would capture the player's attention while also teaching necessary prevention measures. Our goal is to raise awareness about the need to wear masks. We have managed to achieve this outcome through using the scratch programing language while it being a more simple language; we also hope that through using this language, we could also intrigue children into looking into the code and learning the importance of coding. In addition, all the images used are drawn by our team. Renee has purposefully and skillfully balanced the game's appearance to be aesthetically pleasing to older ages and appropriate for younger children.


AI Chatbot:


How does it work?


We have some code that will see which words are the most important in the AI training data. Eg. In the mask training set, the word mask will be selected as important


Then, the SGD classifier will train to match up the important words in the sentences with a corresponding output and will stop once it reaches a high enough accuracy. The SGD classifier works by taking in inputs and adjusting parameters in a function until the error is at the local minimum


We used Tkinter to make the GUI


Used https://api.covid19api.com/summary to get data


Used Levenshtein Distance to account for typos in country names


We also used the HK government API at https://data.gov.hk/en-data/dataset/hk-dh-chpsebcddr-novel-infectious-agent to get the cases in Hong Kong.


What benefits does it have?


It brings all the data into one place and in an intuitive way, as you just need to ask the AI what you want. This can help people who are struggling with technology like the elderly.


What do you hope to achieve?


The chatbot can be used for everything COVID related, from telling you tips, a symptom checker, and telling you where the closest vaccination sites are


What tools, coding languages, hardware or software did you use to develop this project?


Python 3.9, with imports sklearn and fuzzywuzzy

Space Agency Data

We used NASA’s geolocation, population density, economical status datasets data.nasa.gov as well as NASA EarthData to understand the Covid-19 indicators and risks in the fundamental process of our chatbot which is its aim to provide necessary preventive measures, risk and health advice to users that inquire about it. Depending on their location and district, we used the NASA data to analyse the density of districts in Hong Kong and input the datasets to train the AI model so that the bot will know when a district is safe or not. 


We also used NASA Covid Cases data to compare the political state pertaining to the creation of Covid19 restrictions in Singapore and Hong Kong as both regions have similar geographical scales and economic statuses. With the creation of Covid19 restrictions in Hong Kong, home-based learning, self-isolation, and frequent temperature checks skyrocketed. This inspired our chatbot to have a feature where if a user wants to go to a specific location or district in Hong Kong, they can input their question of nearest covid cases in that district and depending on whether there are cases, the bot always returns a message of advice with precaution measures.

Hackathon Journey

We have found this Space Apps challenge as a memorable, team-building experience. This challenge inspires us to develop our critical thinking skills and collaborate to create a code for our app. Our team learnt how to organize ourselves effectively with each person assigned a different task so that we were able to work efficiently and complete everything we needed to do before the submission deadline. For example, Kit Kit and Siddhant worked on the code, Tracy and Ray worked on the graphs and data analysis, Renee worked on creating the graphics for the game, and Chun Lok created the chatbot.


Each team member worked on one major component of our project, whilst still showing other team members support when needed. We decided to participate in this challenge because we believe that this COVID-19 situation is a paramount issue that has impacted the world (Hong Kong specifically) in countless ways, including mask-wearing, being in lockdown and online learning. We took the approach of creating an app that lets users know where potentially infected areas are because we believe that one of the main reasons why COVID-19 has spread so rapidly is ignorance - people do not know which areas may be dangerous to visit.


Our aim for this project is to raise awareness of contaminated areas so that people can take precautions in order to prevent infection. There were a couple of setbacks during the process of creating our final submission, but our team worked together and collaborated effectively to support each other through the challenges. We would thank Professor Chee Wai, who has generously provided us with the appropriate information about this challenge and the AmCham judges who have taken their time to consider our project. Overall, we believe that this Space Apps Challenge is a great way for teammates to come together and collaborate on solving an issue together.

References

Scratch:

https://scratch.mit.edu/ 

Covid19 API:

https://covid19api.com/

Nasa population density dataset:

https://data.nasa.gov/dataset/Gridded-Population-of-the-World-Version-4-GPWv4-Po/w4yu-b8bh

Statistics & Research: Our World in Data - Coronavirus 2021:

https://ourworldindata.org/covid-vaccinations?country=HKG

GitHub Covid19 Data - Centre for Systems Science and Engineering (John Hopkins University):

https://github.com/CSSEGISandData/COVID-19

Covid-19 Pandemic in Singapore:

https://en.wikipedia.org/wiki/COVID-19_pandemic_in_Singapore

Hong Kong Government Social Distancing Measures:

https://www.info.gov.hk/gia/general/202008/10/P2020081000774.htm

Stack Overflow:

https://stackoverflow.com/

NASA Covid19 Earth Data Dashboard:

https://earthdata.nasa.gov/covid19/

Tags

#HongKong, #COVID-19, #Solution, #Chatbot, #Game, #MobileApplication, #WearMask, #StaySafe

Global Judging

This project has been submitted for consideration during the Judging process.