akirawisnu / INACOVID

Automated collection of Indonesia COVID-19 data from official government data source.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scheduled Data Collecting

Indonesia COVID-19 (INACOVID) Data Repository in CSV and JSON Format

Indonesia Covid-19 Chart

Independent effort of providing up-to-the-minute time-series reports in JSON and CSV format for analytical purposes.

Table of Contents

Dataset

The data are automatically scheduled to refresh every hour at the 11th minute as specified in the Action workflow of this repo including the below chart, however if there is no update from the data sources then the data on this repo will not change.

The data files are stored in the data folder categorised in tabular format (CSV) and JSON respectively.

Folder Filename Description
📁data/csv 📄arcgis.natl.csv ArcGIS version of national level time-series data
📁data/json 📜arcgis.natl.json
📁data/csv 📄basic.csv Basic version of national and state/provincial level time-series data
📁data/json 📜basic.minified.json
📁data/csv 📄ext.natl.csv BNPB version of national level time-series data
📁data/json 📜ext.natl.json
📁data/csv 📄ext.prov.csv BNPB version of state/provincial level time-series data
📁data/json 📜ext.prov.json
📁data/csv 📄hospitals.csv Local hospital contacts and addresses
📁data/json 📜hospitals.json
*BNPB (Badan Nasional Penanggulangan Bencana) is the Indonesian government/national institution for disaster recovery

Charts


These charts are plotted regularly based on the scraped data. You can find some .py files to generate the charts in the 📁ActionRunner folder.

Impacts on Indonesia Provinces


Cases by Provinces

Script: CreatePlot-Provinces.py

Demographics


Indonesia Covid-19 Cases by Genders and Age

Script: CreatePlot-Age.py

Medical Conditions


Comorbidities

Script: CreatePlot-Comorbid.py
Symptoms

Script: CreatePlot-Symptoms.py

Medical Facilities


Medical Facilities

Script: CreatePlot-Hospitals.py

Scrapers


The scripts to gather the data are all in the 📁ActionRunner folder, written mostly in C# designed to run on the latest version .NET Core. Some files however are in .py python format to plot the chart.

Workflows


All the data scraping processes are located in the 📁.github/workflows folder automated by this repo Actions.

Data Sources


The data sources are from the Official Government Site and the ArcGIS Covid dashboard of Indonesia.

Submit Bugs


Just open an issue here. All contributions and inputs are welcome.

About

Automated collection of Indonesia COVID-19 data from official government data source.

License:MIT License


Languages

Language:C# 80.7%Language:Python 19.3%