if (FALSE) {
# Preview data from options file (prompts for file if NULL)
data.preview(options = "my_analysis.yaml")
# Preview raw file without loading options
data.preview("/path/to/data.csv", preprocess = FALSE)
# Preview preprocessed data from a path (uses options for standardization)
data.preview("/path/to/data.csv", options = "my_analysis.yaml")
# Preview a data frame as-is
data.preview(mtcars, preprocess = FALSE)
}
Run the code above in your browser using DataLab