importScivescoInternal: Internal parser for sci:vesco files (suffix 'scires').

Description Usage Arguments Value Note Author(s) Examples

View source: R/import.r

Description

Internal parser for sci:vesco files (suffix scires).

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 list with extracted parameters.

Note

Sci:Vesco offers the options to rate the construct poles seperately or using a bipolar scale. The seperated rating is done using the "tetralemma" field. The field is a bivariate plane on which each of the four (tetra) corners has a different meaning in terms of rating. Using this approach also allows ratings like: "both poles apply", "none of the poles apply" and all intermediate ratings can be chosen. This relaxes the bipolarity assumption often assumed in grid theory and allows for deviation from a strict bipolar rating if the constructs are not applied in a bipolar way. Using the tetralemma field for rating requires to analyze each construct seperately though. This means we get a double entry grid where the emergent and constrast pole ratings might not simply be a reflection of on another. If a tetralemma field has been used for rating, OpenRepGrid offers the option to transform the scores into "normal" grid ratings (i.e. restricted to bipolarity) by projecting the ratings from the bivariate tetralemma field onto the diagonal of the tetralemma field and thus forcing a bipolar rating type. This option is not recommended due to the fact that the conversion is susceptible to error when both ratings are near to zero.

TODO: The element IDs are not used yet. This might cause wrong assignments.

Author(s)

Mark Heckmann

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 scivesco.scires is in the current directory
file <- "scivesco.scires"
imp <- importScivescoInternal(file)

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

# using a full path
imp <- importScivescoInternal("/Users/markheckmann/data/scivesco.scires")

# load Sci:Vesco data from URL
imp <- importScivescoInternal("http://www.openrepgrid.uni-bremen.de/data/scivesco.scires")

## End(Not run)

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