Import from View¶
Warning
This task is included only if a complementary Studio license has been purchased.
The Import from View task allows users to import tables which have already been imported in the Datasets tab in Rulex Studio.
It is one of the tasks whose main aim is to import structures from Rulex Platform (more information can be found at the corresponding page).
The Import from View task is made of one tab only: the Options tab.
The Options tab¶
In the Options tab, users can set up the Target table options, defining the following options:
View: select from the drop-down list the view containing the table to be imported in the flow.
Table: select from the drop-down list the table of the chosen view, which will be imported in the flow.
Use old computation data if the source file is not available: if selected (default), data from the previous computations will be used if the source table is not available.
Warning
Tables can be imported from a View which is in the same Environment of the Flow where the Import from View task is used.
Example¶
The following example uses the Adult dataset.
After having imported the dataset in the Datasets tab in Rulex Studio (which we have called Adult), go back to Rulex Factory and open a flow within the same Environment where the View has been created.
Then, add an Import from View task and open it.
- Select the View and the Table to be imported. In this case, we decided to configure the task as follows:
View: Test_documentation
Table: Adult
Save and compute the task.
The results of the import operation can be visualized by right-clicking on the task and selecting Take a look or, alternatively, through a Data Manager task, which must be linked to the Import from View task.