ds2ws

Creation of derived workspace

Synopsis

ds2ws

Arguments:

ds: dataset name

filter: optional name of applying filter

conditions: optional list of applying condition descriptors

in JSON string representation

dtree: optional name of applying decision tree

code: optional code of applying decision tree

ws: name of creating workspace

force: forcing remove previous instance of workspace,

optional

Return value:

{ dictionary
"task_id": task ID, int
}

Return value for task:

{ dictionary
"ws": name of workspace created, string
}

Description

The request starts background task for creation secondary workspace.

The client needs to use request job_status to receive the proper result or error status of task after some delay.

Selection of variants is defined by arguments:

  • filter applies if either filter or conditions is set (see discussion here)

  • decision tree applies if either dtree or code is set (see discussion here)

Derived workspace should be of limited size: not more than 9000 variants.

The name of derived dataset ws should be new one, it can not be name of existing dataset or reserved one. As a string, it should be nonempty, without space symbols and length limited by 255.