View source: R/get_sc_wo_redundant.R
get_sc_wo_redundant | R Documentation |
Get COVID-19 positive samples after excluding redundant samples in a probable single infection event
get_sc_wo_redundant(
sc_tbl,
start_date = "2021-01-01",
end_date = as.character(lubridate::date(lubridate::now())),
n_days = 30,
time_zone = "America/New_York"
)
sc_tbl |
Sample Collection table from deidentifiedDB database |
start_date |
Filter sample collection table for samples collected on or after this date. Provide date as in "2021-08-01" for August 1, 2021 |
end_date |
Filter sample collection table for samples collected on or before this date. Provide date as in "2021-08-01" for August 1, 2021 |
n_days |
Duration of time (in days) for which only the first collected COVID-19 positive sample for a patient is retained |
time_zone |
Time zone for collection time (Default: "America/New_York") |
Tibble containing sample collection data after excluding redundant COVID-19 positive samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.