Prerequisites
- R (version 4.0 or later)
- RStudio (optional but recommended)
Place the data_raw
folder which contains the necessary
data files for EMBRACE I and EMBRACE II in the root directory of the
project.
Installation
# Install from GitHub
if (!require("devtools")) install.packages("devtools")
devtools::install_github("steecker/embraceR")
Basic Usage
Loading Data
library(embraceR)
# Load EMBRACE I data
data <- load_embrace_i()
# Get a clean version of EMBRACE II data with essential columns
clean_emii <- emii_get_clean_data()
# Get full dataset with all columns
clean_emii_full <- emii_get_clean_data(minimal = FALSE)
# Load combined data
data <- load_combined_embrace()