parse_list_files: Parse listed files from HCP bucket

View source: R/parse_list_files.R

parse_list_filesR Documentation

Parse listed files from HCP bucket

Description

This parses the result from hcp_list_files and organizes the files into data.frames

Usage

parse_list_files(ret)

Arguments

ret

object with element parsed_result, usually from hcp_list_files

Value

List of 2 data.frames, the contents and the commonprefixes elements from the list

Examples

if (have_aws_key()){
   ret = hcp_list_files(prefix = "HCP/100307/unprocessed/3T/Diffusion")
   parsed = parse_list_files(ret)
   stopifnot(!is.null(parsed$contents))
 }

neuroconductor/neurohcp documentation built on Feb. 5, 2023, 6:19 a.m.