Description Usage Arguments Value Examples
#' 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.
1 | get_masterdemo(cfg_path)
|
cfg_path |
is the path to the lab's json configuration file. |
Returns an object to pull Master Demographic data with.
1 | get_masterdemo(cfg_path='/bgfs/adombrovski/lab_resources/dnpl.json')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.