get_masterdemo: #' Convenience function to install Rclone #' @return Boolean...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

#' Convenience function to install Rclone #' @return Boolean representing if rclone was successfully installed. #' @examples #' rclone.installed() #' @export install_rclone <- function() # check that rclone is installed is_installed <- rclone.installed() # if rclone is not installed if(is_installed == FALSE) # install string from rclone docs install_str <- "curl https://rclone.org/install.sh | sudo bash" # run the command on the system system(install_str, intern=TRUE) # check that rclone was successfully installed Function to create a REDCapR project from json input for master demographic.

Usage

1
get_masterdemo(cfg_path)

Arguments

cfg_path

is the path to the lab's json configuration file.

Value

Returns an object to pull Master Demographic data with.

Examples

1
get_masterdemo(cfg_path='/bgfs/adombrovski/lab_resources/dnpl.json')

DecisionNeurosciencePsychopathology/DataTracker documentation built on Jan. 20, 2022, 4:51 p.m.