Learn R Programming

manureshed (version 0.1.3)

download_osf_data: Download and Cache Data from OSF

Description

Download built-in datasets from OSF repository using Files API

Usage

download_osf_data(
  dataset_name,
  force_download = FALSE,
  cache_dir = NULL,
  verbose = TRUE
)

Value

Path to cached data file

Arguments

dataset_name

Character. Name of dataset to download

force_download

Logical. Force re-download even if cached version exists

cache_dir

Character. Directory to cache downloaded data (default: user data dir)

verbose

Logical. Show download progress