generate_physical_fu_log_csv: Generate physical follow-up log CSV for upload on ODK Central...

View source: R/generate_fu_logs.R

generate_physical_fu_log_csvR Documentation

Generate physical follow-up log CSV for upload on ODK Central (TIMCI-specific function, Tanzania only)

Description

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

Usage

generate_physical_fu_log_csv(
  pii,
  fudf,
  wmin_nophone,
  wmin_phone,
  wmax,
  vwmin,
  vwmax
)

Arguments

pii

dataframe containing personally identifiable data

fudf

dataframe containing the processed follow-up data

wmin_nophone

numerical, start of the follow-up period if the caregiver has no phone number (in days)

wmin_phone

numerical, start of the follow-up period if the caregiver has a phone number (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)

Value

This function returns a dataframe.


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