form_status_counts: A function to assess the status of forms

View source: R/completeness.R

form_status_countsR Documentation

A function to assess the status of forms

Description

This function returns a data.frame informing on the status of saved forms per participant. There is a line for every combination of form type and participant id. The numbers are occurrence counts.

Usage

form_status_counts(object, ...)

Arguments

object

secuTrialdata object

...

further parameters

Value

data.frame informing on the status of saved forms per participant

Examples

# prepare path to example export
export_location <- system.file("extdata", "sT_exports", "snames",
                               "s_export_CSV-xls_CTU05_short_ref_miss_en_utf8.zip",
                               package = "secuTrialR")
# load all export data
sT_export <- read_secuTrial(data_dir = export_location)

# get form status
form_status_counts(sT_export)


secuTrialR documentation built on March 7, 2023, 5:35 p.m.