Skip to content

Commit

Permalink
fix path for data storage
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasHohmann committed May 27, 2024
1 parent 48c727e commit 417a784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,6 @@ get_data_from_osf = function(link){
#' @param link url to the (public) url
my_project <- osfr::osf_retrieve_node(link)
my_files <- osfr::osf_ls_files(my_project)
osfr::osf_download(my_files, recurse = TRUE, conflicts = "overwrite", progress = TRUE)
osfr::osf_download(my_files, path = "data/" , recurse = TRUE, conflicts = "overwrite", progress = TRUE)
return(invisible())
}

0 comments on commit 417a784

Please sign in to comment.