NEWS.md
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 returnedstrsplit
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
describe_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
\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)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 itwrite_omv
on Windows (LF + CR, but only CR expected / decoded)