dsDownload {readMLData} | R Documentation |
Run an external tool to download a data set.
Description
The function allows to run an external download tool with arguments read from a file in a data folder.
Usage
dsDownload(dsList, id, command, fileName)
Arguments
dsList |
Data frame as created by |
id |
Name of the data set in |
command |
Character. A command line web downloding tool, for example
|
fileName |
Character. A name of the file in the data directory, which contains the URL of the data on the web. |
Details
If no data set or more than one data set corresponding to id
is found,
a corresponding error message is printed.
Value
Function has no value. The protocol generated by the specified tool is printed.
Author(s)
Petr Savicky
See Also
Examples
## Not run:
pathData <- getPath("exampleData")
pathDescription <- getPath("exampleDescription")
dsList <- prepareDSList(pathData, pathDescription)
dat <- dsDownload(dsList, "glass", "wget", "links.txt")
## End(Not run)
[Package readMLData version 0.9-7 Index]