dupsbydemos: Check the range of responses

View source: R/dups.R

dupsbydemosR Documentation

Check the range of responses

Description

Check the range of responses

Usage

dupsbydemos(
  x,
  redcapid,
  id,
  birthdate,
  gender,
  height,
  weight,
  ethnicity,
  email
)

Arguments

x

dataframe.

redcapid

Autogenerated id number from REDCap, Ethica, etc

id

Study id (e.g., participant initials, IE001, etc.)

birthdate

Column name with participant birthdate

gender

Column name with participant gender

height

Column name with participant height

weight

Column name with participant weight

ethnicity

Column name with participant ethnicity

email

Optional argument. Column name with participant email

Value

A message indicating how many duplicates were removed from your dataset and your dataset with the removed duplicates.

Examples

dupsbydemos(fake_data, redcapid="id", id="si", birthdate = "birthdate", gender="demo_2", height="height", weight="weight", ethnicity = "ethnicity", email="demo_11")

cecusack/clairecleans documentation built on Dec. 14, 2024, 3:27 a.m.