mrgda
is a data assembly helper, providing a set of functions that
help you assemble, explore and validate your data set.
- Getting
Started
– Introduction to commonly used data assembly
mrgda
functions. - Assigning
IDs
– Background on
assign_id()
.assign_id()
helps you assign a unique numeric identifier to each subject in your data set. Its purpose is to ensure the same numeric identifier is consistently assigned to each subject throughout a project
Public documentation of all functions is hosted at https://metrumresearchgroup.github.io/mrgda/
If you encounter a clear bug, please file an issue with a minimal reproducible example on mrgda.
Developer Notes
mrgda
uses pkgr to
manage development dependencies and
renv to provide isolation. To
replicate this environment,
-
clone the repo
-
install pkgr
-
open package in an R session and run
renv::init(bare = TRUE)
- install
renv
> 0.8.3-4 into default.libPaths()
prior to this step if not already installed
- install
-
run
pkgr install
in terminal within package directory -
restart session
Then, launch R with the repo as the working directory (open the project
in RStudio). renv
will activate and find the project library.