bccovideda.show_summary_stat

Module Contents

Functions

show_summary_stat(startDate, endDate)

Shows summary statistics for the Covid19 cases in BC for the period

bccovideda.show_summary_stat.show_summary_stat(startDate, endDate)[source]

Shows summary statistics for the Covid19 cases in BC for the period specified by startDate and endDate (format: YYYY-MM-DD).

Parameters
  • startDate (string) – the start date of the period (no earlier than ‘2020-01-29’)

  • endDate (string) – the end date of the period (no later than today)

Returns

  • pandas.DataFrame – Data frame containing summary statistics with the followings: total_cases_count, latest_date, latest_daily_cases_count, max_date, max_daily_cases_count, min_date, min_daily_cases_count, max_age_group, max_age_group_count, min_age_group, min_age_group_count, max_region, max_region_count, min_region, min_region_count

  • None if there is no data matching the specified date range

Examples

>>> show_summary_stat("2022-01-01", "2022-01-13")