get_file: get_data

Description Usage Arguments Details Examples

View source: R/get_file.R

Description

get_data

Usage

1
get_file(node, remote_path = NULL, file, path = ".", conflicts = "overwrite")

Arguments

node

character, osf node

remote_path

character, remote path to file

file

character, name of file to download

path

character, output path. Defaults to working directory

conflicts

What to do if a file already exists. Default is "overwrite" see osf_download for other options.

Details

logic !file exists - download file exists & !matching hashes - download

Examples

1
get_file(node = "p7ayb", file = "Analysis notes.txt", path = "data")

Between-the-Fjords/dataDownloader documentation built on April 25, 2021, 7:59 a.m.