generate_fu_log: Generate follow-up log (TIMCI-specific function)

View source: R/generate_fu_logs.R

generate_fu_logR Documentation

Generate follow-up log (TIMCI-specific function)

Description

Generate a list of participants to be called in a time window after baseline between wmin and wmax

Usage

generate_fu_log(
  pii,
  fudf,
  wmin,
  wmax,
  vwmin,
  vwmax,
  ext = FALSE,
  deidentify = FALSE
)

Arguments

pii

dataframe containing personally identifiable data

fudf

dataframe containing the processed follow-up data

wmin

numerical, start of the follow-up period (in days)

wmax

numerical, end of the follow-up period (in days)

vwmin

numerical, start of the follow-up period valid for the statistical analysis (in days)

vwmax

numerical, end of the follow-up period valid for the statistical analysis (in days)

ext

boolean, allow to export more information

deidentify

boolean, enable the generation of a format with personally identifiable information (PII) for upload on ODK Central (if set to FALSE) or of a deidentified dataframe (if set to TRUE)

Value

This function returns a dataframe.


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.