Nothing
.omt
; incl. unit tests)read_all
)read_all
when reading files (improved exception handling, etc.)hvnAdj
to clnTbb
and improved it (better “cleaning” of data read via haven
)fgnLbl
to clnFgn
(including improvements to convert variable labels into their jamovi equivalents)rtnOut
to jmvOpn
(preventing the output from system2 to be returned, used for the jamovi module Rj
)jmvPtB
handling if requireNamespace("RProtoBuf")
returns FALSE
distances_omv
: calculate a wide range of distance measures (either between variables or between units
of observation) on standardized or the original datatransform_vars_omv
: apply transformations - calculating the square root, the logarithm to the base 10 or
an inversion - to make variables (better) conform to a normal contribution (incl. unit tests)read_omv
and write_omv
to better handle variable labelsrhub
replace_omv
, wide2long_omv
, and jmvAtt
dataType
attribute is preserved / honoured by write_omv
(earlier on, the data type
of a variable / column was determined by a logic and my have changed the class of this column)write_omv
when columns where completely empty (i.e., if they contained
only NAs; incl. the respective unit tests)long2wide_omv
so that it to handle (omit) NAs when aggregating values (incl. unit tests)var_labels_omv
(assign labels to variables in a data set; including unit tests, and files for
the tests and the examples)sapply
with vapply
or lapply
(in accordance with goodpractice
)rplAtt
(replace non-UTF with UTF characters, part of read_omv
)invisible(NULL)
where NULL or nothing was returned strsplit
in long2wide_omv
and wide2long_omv
in order to permit having “.” as varSepcodemeta.json
, badge about package status, and how to contribute to the package (for pkgcheck
)convert_to_omv
varID
in merge_cols_omv
replace_omv
library(jmvReadWrite)
replace_omv
(replacement in character columns)wide2long_omv
in order to accept NULL
for varID
jmv
is not presentdescribe_omv
(put a title and a description at the top of a data
set), search_omv
(finding values in a data set) and replace_omv
(replacing values in a data set with other values)Rj
, a new jamovi session is opened with the data set that was modified by
one of the helper functions)jmv
-syntax in the data sets, but with the perspective of
creating analyses from jmv
-syntax)index.html
(generated when writing data set with
write_omv
to be in line with more recent versions of jamovi)dataType
and measureType
attributes to a data frame when
write_omv
is called from within jamovi (while ensuring not to overwrite
existing measureType
/ dataType
attributes)jmv-id
-status for ID-variable if the variable is unique in
long2wide_omv
fleOut
from inp2DF
(making it impossible to attach fleOut
as
attribute to a data frame) - earlier, the output file name could be
“assembled” by adding a suffix to the input file name, with leaving fleOut
empty to return the resulting data frame that became obsoletedrop = FALSE
in sort_omv to prevent reduction to a vectorglobals
, read_omv
, and write_omv
jmvReadWrite
more suited for using it together with the
jamovi-module jTransform
(https://github.com/sjentsch/jTransform)merge_cols_omv
and
merge_rows_omv
(incl. phasing out fleInp
as parameter for the helper
functions: it now throws an error to prevent using it)read_omv
and write_omv
long2wide_omv
(added aggregation, mean or
take first, and fixed a bug that led to incorrect naming of variables when
transforming complex data sets)wide2long_omv
(added parameter excLvl
,
to prevent that measurements (if there are more than one) are also
transformed to long; fixed a bug that led to incorrect an order of values
within variables when transforming complex data sets)expect_error
and expect_warning
, bug-fixes and additional coverage)setAtt
, e.g., from the metadata to the
data frame and vice versa)jmvAtt
to attach the attributes measureType
and dataType
to data frames coming from inside jamovi (i.e., when jmvReadWrite
is used
in modules, e.g., Rj
)
OBS: rather for internal use and thus not exported, use
jmvReadWrite:::jmvAtt()
to call ittranspose_omv
(transpose data frame and write the resulting
jamovi-file)arrange_cols_omv
, long2wide_omv
, wide2long_omv
,
sort_omv
, and transpose_omv
merge_cols_omv
)RJSON
to jsonlite
fmtFlO
to ensure that the output files are in
jamovi-format (.omv); removed typos, etc.arrange_cols_omv
(to change the order of variables / columns in
jamovi-files)psvAnl
to preserve the analyses in data files
(only for arrange_cols_omv
, merge_cols_omv
, sort_omv
where it makes
sense – there the number of rows / participants / units doesn't change)chkFle
, removed duplicate functions from
globals.R
merge_cols_omv
\xNN
)wide2long_omv
and long2wide_omv
(those can now handle
several factors, not only one)write_omv
handles / stores factors (those are now
zero-based to be in accordance with most programming languages including
Python and C++ used in the jamovi engine)label
, e.g., from
importing files using haven, is converted to the jamovi-conforming
jmv-desc
)convert_to_omv
(converts data sets from other formats - CSV, R, SPSS, SAS,
Stata - to .omv
)
merge_cols_omv
(merges two or more data sets by concatenating columns)
merge_rows_omv
(merges two or more data sets by concatenating rows)
long2wide_omv
(converts data sets from long to wide, e.g., for running
mixed-model-analyses in jamovi)
wide2long_omv
(converts data sets from wide to long, e.g., for running
mixed-model-analyses in jamovi)
sort_omv
(sorts the dataset according to one or more variable)read_omv
, write_omv
,
convert_to_omv
, merge_cols_omv
, merge_rows_omv
, long2wide_omv
,
wide2long_omv
, sort_omv
read_omv
and write_omv
as ordered
factor if measureType
has the value Ordinal
sveAtt
in read_omv
(now TRUE
; it makes more sense to store
this attributes be default since write_omv
will give you an exact copy of
the original data set if they are stored and the helper functions above also
respect and adjust them)write_omv
, added assembling
the file name with normalizePath
to read_omv
zip
R-package instead of utils
to prevent that no ZIP-executable-file
is found on Windows (utils::zip
only works in cases where a zip.exe
is
found on the path)retDbg
(default: FALSE
) to write_omv so that output for
debugging is only produced upon setting it write_omv
on Windows (LF + CR, but
only CR expected / decoded)jmvRead
to read_omv
, and jmvWrite
into write_omv
.omv
-file (set the parameter
getSyn = TRUE
; default is FALSE
).omv
-file (set the parameter getHTM = TRUE
;
default is FALSE
)jmvRead
) and writes (jmvWrite
) files using
a file format similar to jamovi 1.2 (can be read with more recent versions)Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.