.. image:: https://img.shields.io/pypi/v/fludashboard.svg :target: https://pypi.python.org/pypi/fludashboard
.. image:: https://img.shields.io/travis/FluVigilanciaBR/fludashboard.svg :target: https://travis-ci.org/FluVigilanciaBR/fludashboard
.. image:: https://readthedocs.org/projects/fludashboard/badge/?version=latest :target: https://fludashboard.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://pyup.io/repos/github/FluVigilanciaBR/fludashboard/shield.svg :target: https://pyup.io/repos/github/FluVigilanciaBR/fludashboard/ :alt: Updates
Flu Dashboard
Flu Dashboard is an initiative to monitor and provide alert levels for Severe Acute Respiratory Infections (SARI) notifications registered at SINAN, the Brazilian Notifiable Diseases Information System (www.saude.gov.br/sinan). Data is provided for each Brazilian State as well as by influenza-like illnessess (ILI) regions.
This is a product of the joint work between researchers at the Scientific Computation Program at Oswaldo Cruz Foundation (Fiocruz, PROCC), School of Applied Mathematics at Fundação Getúlio Vargas (EMAp-FGV), both from Rio de Janeiro, Brazil, and the Inluenza Work Force at the Health Surveillance Secretariat of the Brazilian Ministry of Health (GT-Influenza, SVS, MS).
To deploy FluDashboard Prototype use conda package (that will create a conda environment called fludashboard):
.. code:: shell
conda config --set always_yes yes --set changeps1 no
conda config --add channels conda-forge
conda update --all
conda env create -f requirements -n fludashboard
Change to the new environment created:
.. code:: shell
source activate fludashboard
Optionally, the deployment can be done into a docker container. To create a new container with conda environment:
.. code:: shell
docker pull continuumio/anaconda3
To run the app just type in the terminal (into fludashboard/fludashboard directory):
.. code:: shell
python app.py
The application will be available on the port 5000. To set a custom port, use -p argument with the port number:
.. code:: shell
python app.py -p 9000
FluDashboard presents activity levels and incidence information time series by epidemiological week as well as by epidemiological season. Those two can be accessed by the "Detalhado (semana)" (i.e, detailed) and the "Resumido (ano)" (i.e, summary) view. Each view is composed by 4 panels:
In each, information can be displayed by State or by Region.
Country map (upper left)
Each State/Region is colored according to selected week activity level:
Incidence chart (upper right)
This panel presents the reported incidence time series (black solid line) for the corresponding season, with an horizontal marker indicating the selected epidemiological week. Incidence is reported per 100 thousand individuals. Incidence estimation, when possible, is shown as a red solid line along with 95% confidence interval as dotted red lines. The activity level probability is also presented as text on the upper left corner. Map color correspond to activity level with highest probability. Along with reported and estimated incidence, the system presents the following activity thresholds, estimated based on historical activity at each State/Region:
Incidence chart background color scheme
The background color of the incidence time series represent the typical activity level per week. That is, the historical incidence distribution per week. It allows for identification of typical seasonal pattern, making easier to identify the period of higher activity (epidemic period).
When the incidence in a given week is within the high activity region (red background), even if below the incidence thresholds, it indicates that for that particular week the incidence is unusually high. This information is useful for detecting seasons where the epidemic period starts earlier than usual, for instance. Check activity for season 2016 for example.
Incidence table (lower left)
Incidence for the corresponding State/Region at selected epidemiological week, along with 90% confidence interval when based on estimation. Along with the name of the State/Region and incidence, this table also presents selected data current status:
Age and gender distribution
Reported incidence (without estimation) bar chart by gender and age bracket.
Distributions are subject to future updates as described in the incidence table. Distribution in this panel does not use estimations, being always the currently reported distribution, either stable or incomplete.
This view uses detailed activity levels to report the seasonal one.
Country map (upper left)
Each State/Region is colored according to selected week activity level:
Incidence chart (upper right)
This panel presents the reported incidence time series (black solid line) for the corresponding season. Incidence is reported per 100 thousand individuals. Incidence estimation, when possible, is shown as a red solid line along with 95% confidence interval as dotted red lines. The activity level probability is also presented as text on the upper left corner. Map color correspond to activity level with highest probability. Along with reported and estimated incidence, the system presents the following activity thresholds, estimated based on historical activity at each State/Region:
Incidence table (lower left)
Incidence for the corresponding State/Region for selected season up to latest report. Along with the name of the State/Region and incidence, this table also presents selected data current status:
Age and gender distribution
Reported incidence bar chart by gender and age bracket for the selected season.
Distributions are subject to future updates as described in the incidence table. Distribution in this panel does not use estimations, being always the currently reported distribution, either stable or incomplete.