| ghdecompose {mmstat4} | R Documentation |
ghdecompose
Description
Decomposes a path of a set of files (or dirs) in several parts:
Usage
ghdecompose(files, dirs = FALSE)
Arguments
files |
character vector: path of files |
dirs |
logical: directory or files names (default: |
Details
-
outpaththe path part which is common to all files (basically the place where the ZIP file was extracted) -
inpaththe path part which is not necessary for a unique address in teh ZIP file -
minpaththe minimal path part such that all files addressable in unique manner, -
filenamethe basename of the file, and -
sourcethe input toshortpath.
Value
a data frame with five variables
Examples
ghget("local")
pdf <- ghdecompose(ghlist(full.names=TRUE))
pdf
[Package mmstat4 version 0.2.1 Index]