Data Library

Overview:

Dataset Library

class branchpro.DatasetLibrary[source]

DatasetLibrary Class: A data library class which contains a number of real world epidemiology datasets.

Each method returns a unique dataset in form of pandas.DataFrame.

french_flu()[source]

Returns a dataset on the weekly incidence numbers of the annual flue outbreak in France between the years 1984 and 2020.

The data is returned as a pandas.DataFrame with columns time_index: index of the time point represented in the data file;

year: year of that particular incidence value;

week: week of that particular incidence value;

day: day of that particular incidence value;

inc: number of flu cases at that time point;

inc_low: lower bound of the 95% confidence interval of the number of flu cases at that time point;

inc_up: upper bound of the 95% confidence interval of the number of flu cases at that time point;

inc100: number of flu cases at that time point reported to 100,000 people;

inc100_low: lower bound of the 95% confidence interval of the number of flu cases at that time point reported to 100,000 people;

inc100_up: upper bound of the 95% confidence interval of the number of flu cases at that time point reported to 100,000 people.