altcoder / dromic-covid19-sitreps

Machine readable data on Philippines DSWD DROMIC Covid-19 SitReps

Home Page:https://public.tableau.com/profile/james.faeldon#!/vizhome/PhilippinesCOVID19CostofAssistance/Dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DROMIC COVID19 SitReps Data

License: MIT Airflow/DAG

Generate machine readable data on DSWD DROMIC COVID-19 SitReps in the Philippines.

Interactive Map

Google Sheet

Quickstart

  1. Clone this repo.
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME]
  1. Setup your Python dependencies
$ pip install -r requirements-airflow.txt
$ pip install -r requirements.txt
  1. Set environment variables
$ ./init.sh
$ airflow upgradedb
  1. Run airflow tasks to extract Funds and Stockpiles (FAS) and Cost of Assistance (COA) data
$ airflow etl_dromic_covid_19_sitreps_fas execute_notebook 2020-04-04
$ airflow etl_dromic_covid_19_sitreps_coa execute_notebook 2020-04-04
  1. View generated csv files in output directory
$ ls output

Development

This project uses Apache Airflow to run Python Notebooks as jobs. Follow this instuctions to setup your local development environment.

Official Source

DSWD DROMIC Virtual OpCen Coronavirus Sitreps

CONTRIBUTING

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.

About

Machine readable data on Philippines DSWD DROMIC Covid-19 SitReps

https://public.tableau.com/profile/james.faeldon#!/vizhome/PhilippinesCOVID19CostofAssistance/Dashboard

License:MIT License


Languages

Language:Jupyter Notebook 63.9%Language:Python 32.7%Language:Shell 3.3%