importGridcorInternal: Internal parser for GRIDCOR data files.

Description Usage Arguments Note Author(s) References Examples

Description

Internal parser for GRIDCOR data files. Parse the file format that is used by the grid program GRIDCOR (Feixas & Cornejo).

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

Note

Note that the GRIDCOR data sets the minimum ratings scale range to 1. The maximum value can differ and is defined in the data file.

Author(s)

Mark Heckmann

References

http://www.terapiacognitiva.net/record/gridcor.htm

Examples

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

# supposing that the data file gridcor.dat is in the current directory
file <- "gridcor.dat"
imp <- importGridcorInternal(file)

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

# using a full path
imp <- importGridcorInternal("/Users/markheckmann/data/gridcor.dat")

# load GRIDCOR data from URL
imp <- importGridcorInternal("http://www.openrepgrid.uni-bremen.de/data/gridcor.dat")

## End(Not run)

OpenRepGrid documentation built on May 2, 2019, 4:54 p.m.