DirList_http | R Documentation |
Retrieve a http or https directory listing from a remote host as either a simple list of file/folder names or a data frame with file/folder information.
DirList_http(
URL,
fileType = NULL,
namesOnly = FALSE,
excludeDirectories = TRUE,
directoryOnly = FALSE
)
URL |
URL for a folder on a remote host. Trailing slash is optional. |
fileType |
Any valid string for the pattern parameter in |
namesOnly |
Boolean indicating you want only file names (TRUE) or all directory information (FALSE). |
excludeDirectories |
Boolean indicating you want to exclude folders from the list of returned files/folders. |
directoryOnly |
Boolean indicating you only want folder names included in the list of returned files/folders. |
A list of file names or a data frame with file names and attribute
information. The return value depends on namesOnly
.
## Not run:
DirList_http(pasteo("https://rockyweb.usgs.gov/vdelivery/Datasets/Staged/",
"Elevation/LPC/Projects/AK_BrooksCamp_2012/laz/"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.