Learn R Programming

datarobot (version 2.18.6)

ListPredictionDatasets: Retrieve all prediction datasets associated with a project

Description

This function returns an S3 object of class listDataRobotPredictionDataset that describes all prediction datasets available for the project specified by the project parameter. This list may be converted to a dataframe with the as.data.frame method for objects of class listDataRobotPredictionDataset.

Usage

ListPredictionDatasets(project)

Value

An S3 object of class 'listDataRobotPredictionDataset', which is a list of dataframes: each element of the list corresponds to one prediction dataset associated with the project, and each dataframe has one row and the following columns:

  • id character. The unique alphanumeric identifier for the dataset.

  • numColumns numeric. Number of columns in dataset.

  • name character. Name of dataset file.

  • created character. time of upload.

  • projectId character. String giving the unique alphanumeric identifier for the project.

  • numRows numeric. Number of rows in dataset.

  • forecastPoint. The point relative to which predictions will be generated, based on the forecast window of the project. Only specified in time series projects, otherwise will be NULL.

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  ListPredictionDatasets(projectId)
}

Run the code above in your browser using DataLab