set_data_path: Set promise data path

View source: R/set_data_path.R

set_data_pathR Documentation

Set promise data path

Description

Setting up symlink for promise data

Usage

set_data_path(path = NULL, .interactive = TRUE, .update = FALSE)

Arguments

path

A character path to and including name and extension of the .rda file.

.interactive

logical Use file browser

.update

A logical, for whether or not to update symlink.

Details

Since promise as of date contains PHI data processed data can't be bundled with the package. If you mount the box.com folder as a local drive, one can symlink the data to the promise data folder.

Examples

## Not run: 
#First non-interactive use:
set_data_path("C:/Users/usename/Box/jolo_projects/promise/data/promise_v.0.1.3.rda", .interactive = FALSE)

#For interactive use
set_data_path()

#For updating path
set_data_path(.update = TRUE)

## End(Not run)

dloewenstein/promise documentation built on Nov. 21, 2024, 6:57 p.m.