Learn R Programming

OpenRepGrid (version 0.1.9)

importGridcorInternal: Internal parser for GRIDCOR data files.

Description

Parse the file format that is used by the grid program GRIDCOR (Feixas & Cornejo).

Usage

importGridcorInternal(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.terapiacognitiva.net/record/gridcor.htm

Examples

Run this code
## 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)

Run the code above in your browser using DataLab