powered by
Download files from the OSF
download_files(id, path = NULL, private = FALSE, version = NULL)
Specify the node id (osf.io/XXXX)
Specify path to save file to. If NULL, defaults to OSF filename in tempdir
tempdir
Boolean to specify whether file is private
Specify the OSF version id (string)
Return filepath for easy processing
# NOT RUN { download_file('zevw2', 'test123.md') # }
Run the code above in your browser using DataLab