Files stored on OSF can be downloaded locally by providing an
osf_tbl_file
that contains the OSF file of interest. If the
osf_tbl_file
contains a directory, a zip file containing the
directory's contents will be downloaded.
By default files are downloaded to your current working directory with the
same filename used on OSF. The path
argument can be used to specify a
different destination and, optionally, a different filename for the
downloaded file. Note, the directory portion of path
must reference an
existing directory.