Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.92 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.92 KB

PCovidJatim - Core

This is the core library of PCovidJatim. It handles web scraping, modeling, and mapping. The scraping is done with requests-html, enhanced with multithreading. The model is made with scipy odeint and lmfit minimize. The model fits to weighted multiple dataset. All of the data is stored in heroku-postgres. The mapping is actually just updating feature layer. It uses Arcgis Python API.

PCovidJatim is a webmap of forecast of COVID-19 spread in East Java. The data is obtained from the East Java government. It is then used to fit a SEICRD model with lmfit. The +30 days forecast of the model and the actual data are then mapped into a time aware webmap made with ArcGIS Online using its Python API. The webmap is loaded in an Arcgis Online web app and then loaded in the website in an iframe. In addition to the map, the website also offers the model scores and plots. Every day, a worker checks the data source for new data and update the forecast and map if any. Every few days, a worker re-fit the model and update the forecast and map. They're all hosted in heroku.

The site is available here: https://prediksicovidjatim.herokuapp.com

The paper is available here: https://drive.google.com/file/d/1qbaiPBGEC2Iwqq2rxnZqlxS0gXQzYTXR/view?usp=sharing

The site source code is available here: https://github.com/prediksicovidjatim/prediksicovidjatim

The core module is made as a pip installable package and is available here: https://github.com/prediksicovidjatim/prediksicovidjatim-core

The web app is made with Arcgis Online Web AppBuilder Developer Edition. It is only a little bit modified to adjust the time slider. The source code is available here: https://github.com/prediksicovidjatim/prediksicovidjatim-map

The worker source code is available here: https://github.com/prediksicovidjatim/prediksicovidjatim-worker

Notebooks used in development is available here: https://github.com/prediksicovidjatim/prediksicovidjatim-notebooks