map_folders: Creates a map of MSMT data for future reference

Description Usage Arguments Value Examples

View source: R/map_folders.R

Description

'map_folders' maps sheets containing form data in MSMT folder: their locations and variables. The function saves the map in an .RDATA format for future use, but can be also used to create a workspace object.

Usage

1
map_folders(location = NULL, save_map = TRUE, return_map = FALSE)

Arguments

location

A single character with file path to the directory containing MSMT data. If left blank, working directory is used as a default.

save_map

If TRUE, the function saves a map in the working directory. Can be set to FASLE, or replaced with a single character specifying path to the folder to save the map.

return_map

If TRUE, the function returns the map, so it can be used in the workspace.

Value

A list containing locations of excel sheets and variable names occurring in the sheets.

Examples

1
map_folders(location = "E:/EDU/Data/data/MSMT/")

jmunich/readMSMT documentation built on March 17, 2020, 9:14 a.m.