import_rb: Import a ReaderBench output file (.csv) into R.
Description
When available, the function reads the header of the packaged sample
(inst/extdata/sample_rb.csv) and keeps the first 404 columns by NAME
(plus the File.name/ID column), excluding any columns with names
appearing after position 404 in that header. If the sample is unavailable,
it falls back to keeping the first 404 columns by position.
Usage
import_rb(path)
Value
A base data.frame with one row per record and the following columns:
ID (character): unique identifier of the text/essay.
One column per retained ReaderBench feature, kept by original
feature name (numeric). Feature names mirror the ReaderBench
output variables.
The object has class data.frame (or tibble if converted by the user).