View source: R/retrieve-file-list.R
retrieve_file_list | R Documentation |
retrieve_file_list()
retrieve the complete list
of files to be copied into a new project, while
download_file_list()
copies the files to the destination_directory
on your local maachine.
retrieve_file_list(
offspring,
project_name = "new-project",
destination_directory = file.path("~", project_name)
)
download_file_list(
offspring,
project_name = "new-project",
destination_directory = file.path("~", project_name)
)
offspring |
character of observed values in the investigation. Required. |
project_name |
character of the new project. Defaults to |
destination_directory |
character of the files. Defaults to |
Currently, three types of projects are supported:
r-analysis-skeleton
cdw-skeleton-1
neonatology-1
Table of files to copy
To view the files involved in each project type, refer to https://github.com/OuhscBbmc/pluripotent/inst/data/file-to-copy.csv. Each line represents one file that will be placed in the new project. The columns are
offspring
: the project type to be created.
copy
: indicator if the file should be copied. If FALSE
, the file is ignored.
destination
: the file's location in the new project.
source
: the location where the file is copied from.
Will Beasley
library(pluripotent)
d1 <- retrieve_file_list("r-analysis-skeleton")
## Not run:
download_file_list("r-analysis-skeleton", "new-project", "./data-public/testing")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.