This parses the result from hcp_list_files
and
organizes the files into data.frame
s
parse_list_files(ret)
ret | object with element |
---|
List of 2 data.frames, the contents and the
commonprefixes
elements from the list
if (have_aws_key()){
ret = hcp_list_files(prefix = "HCP/100307/unprocessed/3T/Diffusion")
parsed = parse_list_files(ret)
stopifnot(!is.null(parsed$contents))
}