Description Usage Arguments Value
Generate daily data from REDCap data in wide or long format
1 | daily_data(data, format = "wide")
|
data |
data imported with import_data() |
format |
either wide (default) or long |
a dataframe variables in wide format:
date = date
cumhos = cumulative number of hospitalized patients
hos = current number of hospitalized patients
icu = current number of patients treated in intensive care
rest = current number of patients hospitalized after intensive care
death = cumulative number of deaths
recovery = cumulative number of recoveries
variables in long format:
date = date
state = hos, icu, rest, death or recovery
n = count
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.