Description Usage Arguments Details Examples
View source: R/osf_download_csv.r
Download all .csv
files from an existing OSF project or component
based on the associated unique identifier. This is a 5-character global unique identifier (GUID).
See below for details. Note that this function only downloads files listed in the top-level directory.
It will overwrite files of the same name.
1 2 3 4 | osf_download_csv (
id,
path = 'data-raw/'
)
|
id |
An OSF identifier corresponding to an OSF project or component. |
path |
Path pointing to a local directory where the downloaded files will be saved. Default is to use ‘data-raw/’. If specified directory does not exist, it will be created. |
See package osfr for additional information.
1 2 3 | osf_download_csv('87kgc')
osf_download_csv('87kgc', 'new_data')
fs::dir_delete(c('data-raw', 'new_data'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.