Dashboard Sars-Cov-2

This is a simple dashboard tracker for new covid cases identified in Jalisco, Mexico. The chart contains the following time-series:

  • Historical confirmed cases.
  • ma_short: 7-day moving average
  • ma_long: 21-day moving average

This project consists of two parts: data-retrieval, data-visualization. A python module called sars_cov_2_mx was developed to share common abstractions among the two parts.

Data Retrieval:

  • The raw data is retrieved from an official mexican source.
  • A python process is executed in a cloud environment (Heroku) to download the latest data available an update a Github Gist.
    • Python script here.
    • Github gist with latest findings here.
    • Execution frequency: daily at 03:00 AM UTC

Data Visualization:

  • The sars_cov_2_mx module contains utility python functions to download the latest data from the github gist ( here).
  • A simple interactive dashboard ( here) hosted in streamlit facilitated visualizing the results.
Lead Data Engineer

Do you want to learn more about similar topics? Follow me for more content.

Related