importGridsuite: Import Gridsuite data files.

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/import.r

Description

Import Gridsuite data files.

Usage

1

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).

Value

A single repgrid object in case one file and a list of repgrid objects in case multiple files are imported.

Note

The developers of Gridsuite have proposed to use an XML scheme as a standard exchange format for repertory grid data (Walter, Bacher & Fromm, 2004). This approach is also embraced by the OpenRepGrid package.

TODO: The element and construct IDs are not used yet. Thus, if the output should be in different order the current mechanism will cause false assignments.

Author(s)

Mark Heckmann

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

See Also

importGridcor, importGridstat, importScivesco, importGridsuite, importTxt, importExcel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 

# using the pop-up selection menu
rg <- importGridsuite()

# supposing that the data file gridsuite.xml is in the current directory
file <- "gridsuite.xml"
rg <- importGridsuite(file)

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

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

# load Gridsuite data from URL
rg <- importGridsuite("http://www.openrepgrid.uni-bremen.de/data/gridsuite.xml")

## End(Not run)

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.