downloadOSFdata: Download data from OSF and unzip into folder structure in...

View source: R/OSFdata.R

downloadOSFdataR Documentation

Download data from OSF and unzip into folder structure in data/ folder.

Description

Download data from OSF and unzip into folder structure in data/ folder.

Usage

downloadOSFdata(
  repository,
  filelist,
  folder,
  overwrite = TRUE,
  unzip = FALSE,
  removezips = FALSE,
  wait = 40
)

Arguments

repository

OSF repository to download from (string of 5 characters)

filelist

named list where names are folders, and entries are vectors of filenames to download from those folders on the OSF repository

folder

Folder in the current working directory to store files in.

overwrite

(Boolean) Whether files should be overwritten if already there.

unzip

(Boolean) Whether or not to unzip zip files.

removezips

(Boolean) Whether or not to remove zip files after unzipping.

wait

(Numeric) Number of seconds to wait in between downloads.

Value

empty


thartbm/handlocs documentation built on Feb. 18, 2025, 10:53 p.m.