Jenkins Covid Analytics Automation

Get Data | Analytics | Publish Data

Development (DEV):

Test | QA | UA

Production (PROD):

Markdown Template

# Romania_COVID_Analytics(Under construction)
Representations of COVID data for Romania
### General stats
<img align="Center" src="Images/general_stats.png" width=1000>
### Time Series
The graph show the current **COVID-19** evolution:
<img align="Center" src="Images/covid_timeseries.png" width=1000>
### COVID growing rates
<img align="Center" src="Images/covid_trends.png" width=1000>
## Total cases by county (left) | Total dead by county (right)
<img src="Images/total_county.png" height=350 width="450"/> <img src="Images/total_dead.png" height=350 width=450/>
### Numbers by county
<img align="Center" src="Images/county_numbers.png" width=1000/>

Project Workflow

Jenkins architecture

├── environment.yml
├── project_env.yml
├── requirements.txt
├── Generate_Analytics
│ ├── Images
│ └── README.md
├── Upload
│ ├── Images
│ ├── README.md
├── Webhook
│ ├── datasets
│ │ ├── getCasesByCounty.json
│ │ ├── getDailyCaseReport.json
│ │ ├── getDeadCasesByCounty.json
│ │ ├── getHealthCasesByCounty.json
│ │ └── romania-counties.json

Analytics end-to-end pipeline

Webhook

Generate_Analytics

Shell commands:

py="/home/anaconda3/envs/py37_covidenv/bin/python"
$bash
echo 'conda activate project_env'
home="/var/lib/jenkins/workspace/Generate_Analytics/code"
$py $home/analytics.py

Code breakdown

Geo DataFrame

Upload

Build step | Shell execution

Results

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store