cowidev#

cowidev.decoupling#

cowidev.decoupling.adjust_x_and_y(df: DataFrame, start_date: str, end_date: str, hosp_variable: str, icu_variable: str) DataFrame[source]#
cowidev.decoupling.main()[source]#
cowidev.decoupling.process_deu() DataFrame[source]#
cowidev.decoupling.process_esp() DataFrame[source]#
cowidev.decoupling.process_isr() DataFrame[source]#
cowidev.decoupling.process_usa() DataFrame[source]#
cowidev.decoupling.update_db()[source]#

cowidev.sweden#

cowidev.sweden.download_data()[source]#
cowidev.sweden.generate_dataset()[source]#
cowidev.sweden.update_db()[source]#

cowidev.uk_nations#

cowidev.uk_nations.add_decoupling_metrics(df: DataFrame) DataFrame[source]#
cowidev.uk_nations.find_metric_peak(df: DataFrame, metric: str, period_start='2020-12-09', period_end='2021-02-23') tuple[source]#
cowidev.uk_nations.generate_dataset()[source]#
cowidev.uk_nations.get_day_diff(dt)[source]#
cowidev.uk_nations.get_local() DataFrame[source]#
cowidev.uk_nations.get_nation() DataFrame[source]#
cowidev.uk_nations.get_nhs_region() DataFrame[source]#
cowidev.uk_nations.get_uk() DataFrame[source]#
cowidev.uk_nations.update_db()[source]#