src.policies.task_plot_multipliers

Module Contents

Functions

task_plot_other_multiplier(depends_on, produces)

task_plot_multipliers_and_stringency_index(depends_on, produces)

_prepare_stringency(df, start_date, end_date)

Prepare the Oxford stringency data.

_get_other_multiplier(start_date, end_date, multiplier_spec)

_get_school_multipliers(start_date)

_create_multiplier_plot(oxford_stringency, work_multiplier, other_multiplier, school_multiplier, our_stringency, ylabel=None)

_get_seasonalities(params, start_date, end_date)

Attributes

_DEPENDENCIES[source]
task_plot_other_multiplier(depends_on, produces)[source]
_PRODUCTS[source]
task_plot_multipliers_and_stringency_index(depends_on, produces)[source]
_prepare_stringency(df, start_date, end_date)[source]

Prepare the Oxford stringency data.

Documentation of the data can be found at https://bit.ly/3cgBwOQ The citation is Hale2020.

_get_other_multiplier(start_date, end_date, multiplier_spec)[source]
_get_school_multipliers(start_date)[source]
_create_multiplier_plot(oxford_stringency, work_multiplier, other_multiplier, school_multiplier, our_stringency, ylabel=None)[source]
_get_seasonalities(params, start_date, end_date)[source]