Sometimes, during a study, certain fields may be hidden because data should no longer be entered into them. If this is the case and the data of these fields is part of your export is likely good to know about it.

return_hidden_items(x)

Arguments

x

a secuTrialdata object

Value

a data.frame (columns: name, itemtype, label) that pinpoints which items are hidden

Examples

# export location
expot_loc <- system.file("extdata", "sT_exports", "lnames",
                         "s_export_CSV-xls_CTU05_long_ref_miss_en_utf8.zip",
                         package = "secuTrialR")
# read export
sT_export <- read_secuTrial(expot_loc)
#> Read export successfully.
#> The following export options deviate from the suggested specifications:
#> Data from hidden fields is part of the export.
#> Short names was not selected.

# return scores
return_hidden_items(sT_export)
#> [1] name     itemtype label   
#> <0 rows> (or 0-length row.names)