clone_project: Clone OSF project to desktop

Description Usage Arguments Value

View source: R/projects.R

Description

This function copies an *entire* project and its components to the harddrive of the individual (depth of clone depends on the maxdepth argument). There is currently no way to estimate the size before downloading so it might take a while. BUT there's a progess bar :-) Currently limited to only files stored on OSF (not via add-ons).

Usage

1
clone_project(id, private = FALSE, maxdepth = 5)

Arguments

id

OSF id (osf.io/XXXX; just XXXX)

private

clone the project as seen privately?

maxdepth

how many levels of subcomponents to trawl

Value

Boolean, clone success


chartgerink/osfr documentation built on May 11, 2018, 5:21 a.m.