import_gamet: Import a GAMET output file into R.

View source: R/file_utilities.R

import_gametR Documentation

Import a GAMET output file into R.

Description

Import a GAMET output file into R.

Usage

import_gamet(path)

Arguments

path

A string giving the path and filename to import. Keep the original CSV column names. IDs must be nonblank and unique; leading zeros are preserved. Rows are sorted by ID.

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 GAMET error/category variable (numeric; typically counts or rates). Column names follow the GAMET output variable names.

The object has class data.frame (or tibble if converted by the user).

See Also

predict_quality

Examples

# Example with package sample data
file_path   <- system.file("extdata", "sample_gamet.csv", package = "writeAlizer")
gamet_file  <- import_gamet(file_path)
head(gamet_file)

writeAlizer documentation built on Sept. 17, 2026, 1:08 a.m.