Derived Features

Description

These functions request that new features be created as transformations of existing features and wait for the new feature to be created.

Usage

1
2
3
4
5
6
7
8
CreateDerivedFeatureAsCategorical(project, parentName, name = NULL,
  dateExtraction = NULL, replacement = NULL, maxWait = 60)

CreateDerivedFeatureAsText(project, parentName, name = NULL,
  dateExtraction = NULL, replacement = NULL, maxWait = 60)

CreateDerivedFeatureAsNumeric(project, parentName, name = NULL,
  dateExtraction = NULL, replacement = NULL, maxWait = 60)

Arguments

project

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

parentName

The name of the parent feature.

name

The name of the new feature.

dateExtraction

dateExtraction: The value to extract from the date column: 'year', 'yearDay', 'month', 'monthDay', 'week', or 'weekDay'. Required for transformation of a date column. Otherwise must not be provided.

replacement

The replacement in case of a failed transformation. Optional.

maxWait

The maximum time (in seconds) to wait for feature creation.

Value

Details for the created feature; same schema as the object returned from GetFeatureInfo.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.