removeExclusions: Remove data for participants who have withdrawn consent.

Description Usage Arguments Value

View source: R/queryAlspac.R

Description

The exclusion lists for mothers and children are stored in .do files in the R: drive. This function obtains ALNs to exclude from these files and then sets the variable values to missing for the appropriate participants and adds indicator variables for these participants ("withdrawn_consent_*").

Usage

1

Arguments

x

Data frame output from extractVars().

Value

The input data frame but with appropriate values set to missing with additional variables ("withdrawn_consent_*") identifying participants who have withdrawn consent.


explodecomputer/alspac documentation built on Sept. 14, 2020, 1:10 a.m.