translate_acns()
maps fields from ACNS data to REDcap data and excludes
duplicates + cases older than days
old.
translate_acns( .data = covidsms::prep_acns(assign = TRUE), date = lubridate::today(), days = 6L, archive = TRUE )
.data | ACNS data. Runs |
---|---|
date | The date to use for assignment; unlike in other functions, this defaults to today's date as part of the "translation" process. |
days | Number of days back to consider valid. |
archive | Should data be archived (before deduplicating)? |
The data mapped to REDcap field names