Description Usage Arguments Details Value Author(s) See Also Examples
The data frame dsList
is needed to read the data contained in
a directory tree below dsList$pathData
using dsRead()
.
The directory pathDescription
is expected to contain the
file contents.xml
and subdirectory scripts
with R scripts
for reading the data sets.
1 | prepareDSList(pathData, pathDescription)
|
pathData |
Character. A path to the required data directory. |
pathDescription |
Character. A path to a directory containing
description of the required data, in particular the file |
The character "~" expands to your home directory.
The directory pathData
need not contain all the data sets
included in pathDescription/contents.xml
. The function
getAvailable()
is called and its output is stored
in column availability
of the output data frame, which is
logical
and specifies for each data set, whether it is or
is not present.
See http://www.cs.cas.cz/~savicky/readMLData/ for description
files of some of the data sets from UCI Machine Learning Repository.
See the help page readMLData
for more information
on the structure of the description files.
Data frame with columns pathData
, pathDescription
,
and other as listed by getFields()
. The output data frame
can be used as dsList
parametr of functions dsSearch()
,
dsRead()
, checkConsistency()
, checkType()
.
Petr Savicky
readMLData
, getAvailable
, checkConsistency
.
1 2 3 | pathData <- getPath("exampleData")
pathDescription <- getPath("exampleDescription")
dsList <- prepareDSList(pathData, pathDescription)
|
3 data sets available
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.