(DEPRECATED) Reads a dataset from Dataiku's Data Science Studio

read.dataset(name, partitions = NULL, sampling = NULL, columns = NULL)

Arguments

name

name of dataset

partitions

character vector of partitions to load

sampling

a list generated by the sampling functions, e.g. fixed.sampling

columns

a character vector of columns to read from dataset

Value

A data.frame with the requested data

Details

Users can specify which partitions and columns to load, as well as a sampling scheme if the dataset is too large to fit into memory

Please note that this function is now deprecated. Please use dkuReadDataset instead.

Examples

# NOT RUN {
d = read.dataset("iris")

s = fixed.sampling(nbrow=1000)
d = read.dataset("iris", sampling=s)

d = read.dataset("iris", columns=c("Sepal.Length", "Sepal.Width"))
# }