Learn R Programming

OpenRepGrid (version 0.1.12)

importGridsuiteInternal: Internal parser for Gridsuite data files

Description

Internal parser for Gridsuite data files

Usage

importGridsuiteInternal(file, dir = NULL)

Arguments

file

filename including path if file is not in current working directory. File can also be a complete URL. The fileformat is .dat.

dir

alternative way to supply the directory where the file is located (default NULL).

References

http://www.gridsuite.de/

Walter, O. B., Bacher, A., & Fromm, M. (2004). A proposal for a common data exchange format for repertory grid data. Journal of Constructivist Psychology, 17(3), 247. doi:10.1080/10720530490447167

Examples

Run this code
# NOT RUN {
# supposing that the data file gridsuite.xml is in the current directory
file <- "gridsuite.xml"
imp <- importGridsuite(file)

# specifying a directory (arbitrary example directory)
dir <- "/Users/markheckmann/data"
imp <- importGridsuite(file, dir)

# using a full path
imp <- importGridsuite("/Users/markheckmann/data/gridsuite.xml")

# load Gridsuite data from URL
imp <- importGridsuite("http://www.openrepgrid.uni-bremen.de/data/gridsuite.xml")
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab