Description Usage Arguments Details Value Author(s) See Also Examples
Checks whether all the files of a specified data set are accesible in a local directory.
1 | getAvailable(dsList, id=NULL, asLogical=FALSE)
|
dsList |
Data frame as created by |
id |
Character or numeric vector. A character vector should contain
names matching the names |
asLogical |
Logical, whether the output should be a logical
vector of the same length as |
The test is not completely reliable, since it only verifies that
the files with the required file name are accessible. If the
files require some transformations after download and these
are not performed, the data set is still reported as available.
The test uses file names specified in contents.xml
file.
If these names are by mistake different from the files actually
read in the reading scripts, then the test may also yield an
incorrect result.
Logical vector of the length length(id)
specifying for
each component of id
the result of the check or a character
vector containing the identification of the available data sets.
Petr Savicky
1 2 3 4 | pathData <- getPath("exampleData")
pathDescription <- getPath("exampleDescription")
dsList <- prepareDSList(pathData, pathDescription)
getAvailable(dsList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.