add_collection_date | R Documentation |
add_collection_date()
reads the specimen collection date column from an
NBS data file and adds it to the input data (typically the result of
coalesce_report_date()
).
add_collection_date( .data, .from_col = "specimen_coll_dt", .id_col = "inv_local_id", ..., date = Sys.Date(), from_file = path_create("V:/EPI DATA ANALYTICS TEAM/COVID SANDBOX REDCAP Data/", "Sandbox data pull Final/") )
.data |
A |
.from_col |
A string indicating the variable in |
.id_col |
A string indicating the variable in |
... |
|
date |
The date of the NBS file to use for collection dates |
from_file |
A file path to the NBS data with the desired specimen
collection dates; if only a directory is provided, the NBS file
corresponding to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.