Description Usage Arguments Value
View source: R/add_nbs_comparison.R
add_recent_test()
adds a column indicating whether a person
(identified using first name, last name, and date of birth) has previously
tested positive within days
of the given test date. The resulting
recent_test
column is:
TRUE
if any previous tests are found
FALSE
if no previous tests are found with complete data
NA
if no previous tests are found with incomplete test date data
1 | add_recent_test(crf = add_in_nbs(), nbs = load_positive(), days = 90L)
|
crf |
Case Report Form data, usually output from
|
nbs |
Positive NBS data from
|
days |
Range of days for matching test dates |
The input crf
data with a logical
column recent_test
added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.