CLiREN-LMS
Introduction to R for Clinical Data Management

Inspecting Data with glimpse, summary, head, names, and dim

Code Example 2

30-45 minutes Applied Step 8 of 12
Code

Code Example 2

8 / 12
Code

Code Example 2

r

required_fields <- c("participant_id", "site", "consent_date", "date_of_birth", "sex")

setdiff(required_fields, names(enrollment_data))