Extracting links from data manifests

extract_links(
  manifest = "datastructure_manifest.txt",
  files,
  filename = "downloadlist.txt"
)

Arguments

manifest

the filepath of the manifest file. Set to datastructure_manifest.txt by default.

files

a vector of keywords that contained within the file names of the files to be downloaded.

filename

The desired filename, with a *.txt extension, of the text file containing the links. Set to download_list.txt by default

Value

outputs a .txt file containing the links filtered from the data manifest file

Details

This function extracts links from NDA formatted data manifest files

Examples

if (FALSE) {
extract_links(manifest="datastructure_manifest.txt", filename="download_list.txt", files=c("REST_Atlas_MSMAll_hp0_clean.dtseries.nii", "Movement_RelativeRMS.txt"))
}