detect_inconsistent_names_between_visits: Detect inconsistent participant names between follow-up and...

detect_inconsistent_names_between_visitsR Documentation

Detect inconsistent participant names between follow-up and baseline visits (TIMCI-specific function)

Description

Detect inconsistent participant names between follow-up and baseline visits (TIMCI-specific function)

Usage

detect_inconsistent_names_between_visits(
  refdf,
  fudf,
  col_date,
  ldate_diff,
  udate_diff,
  matched_names = FALSE,
  cleaning = "none",
  repeats = FALSE
)

Arguments

refdf

reference dataframe

fudf

dataframe containing the follow-up data to check

col_date

The name of the column containing the date in the df1 dataframe.

ldate_diff

Lower date difference (default is same day), negative numbers indicate a difference in the past, positive numbers indicate a difference in the future.

udate_diff

Upper date difference (default is same day), negative numbers indicate a difference in the past, positive numbers indicate a difference in the future.

matched_names

Boolean indicating whether to perform matching based on names.

repeats

Boolean to be used to only compare 2 names (instead of 3) in Tanzania

Value

This function returns a dataframe.


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