Extracts the dataset, its variable metadata (measurement level, value labels)
and a summary of the analyses stored in a .omv archive. The jamovi
counterpart of import_jasp(), returning the same structure so downstream
code (codebook extraction, data checks) treats an .omv like a .jasp or
.sav.
Value
a list with data (a data.frame; labelled columns carry haven-style
label/labels attributes), columns (a data.frame of name and type),
analyses (a character vector, one entry per analysis: its name and, when
recoverable, the reproducible R syntax), format ("jamovi"), and
data_file_path (NA; jamovi does not record the original import path).
Examples
omv <- system.file("extdata", "sample.omv", package = "metacheck")
res <- import_omv(omv)
head(res$data)
#> Experiment Participant Manipulation check H1 test H2 test
#> 1 1 1 NA 1 3
#> 2 1 2 NA 1 1
#> 3 1 3 NA 0 3
#> 4 1 4 NA 1 2
#> 5 1 5 NA 0 1
#> 6 1 6 NA 0 2
#> H3 confirmatory confidence H3 dissent confidence H4 test Guess hypothesis
#> 1 3.333333 1.000000 -1 <NA>
#> 2 3.000000 2.000000 NA <NA>
#> 3 3.000000 4.000000 -1 <NA>
#> 4 3.000000 2.000000 NA <NA>
#> 5 1.000000 3.333333 NA <NA>
#> 6 3.000000 3.500000 NA <NA>
