get_MCMA_prop_hosp: Generate hospitalization proportions.

Description Usage Arguments Value

View source: R/03_hosp_prop_functions.R

Description

get_MCMA_prop_hosp wrangles individual Covid-19 data for MCMA and calculates the proportion of incident detected cases hospitalized.

Usage

1
2
3
4
5
get_MCMA_prop_hosp(
  n_date_ini = "2020-02-24",
  n_date_last = "2020-12-07",
  save_data = FALSE
)

Arguments

n_date_ini

Character specifying the initial date to compute proportions.

n_date_last

Character specifying the last date to compute proportions.

save_data

Flag (default is FALSE) of whether to save the data as a csv file.

Value

A data.frame with proportion of incident detected cases hospitalized.


SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.