R/make_instrument_auto.R
make_instrument_auto.RdThis function takes a data frame holding REDCap data, checks if it is a longitudinal study, and returns records that have values.
make_instrument_auto(df, drop_which_when = FALSE, record_id = "record_id")A data frame with the instrument
Drop the record_id and redcap_event_name variables
Name of record_id variable (if it was changed in REDCap)
A data frame that has an instrument (with at least one not NA value).