Skip to contents

Filter app data

Usage

filter_data(data, sites, subject_ids, appdata, apptables)

Arguments

data

A Reactivevalues object. filtered data will be written into this object.

sites

Character vector with sites to filter on.

subject_ids

Character vector with all subject IDs. Used to keep the correct order of subject IDs.

appdata

Application data in long format, stored in a list. List contains data frames named per form.

apptables

Application data tables in wide format, stored in a list. List contains data frames named per form.

Value

A reactivevalues object.