Attaching Successor Node to the Writer Node

Attaching Successor Node to the Writer Node

Using the Writer node in Rubiscape, you can store the result of algorithm flow or the reader into a CSV dataset. You can take the results from the Writer node and use them in the next task by using the RubiPython node.

The Figure below shows

  • Writer Node: Template File and Template Table
  • Successor Node: RubiPython Node



Let us take an example. Drag and drop the dataset to the workbook canvas and run the node. Connect the writer node to the dataset. Here, we have connected the TemplateTable to the Female_Birth dataset.

  1. To store the output data of the predecessor node to the Writer task, refer to Writing Algorithm Result.
  2. Now, connect the RubiPython node to the writer node. You can connect multiple RubiPython nodes to the writer node.



  3. Configure the RubiPython node. Refer to Writing Code in RubiPython
  4. A sample python code is displayed below.



    Here, we have added "New" and "New1" custom output variables.
  5. Click on Save and run the node.
  6. After successful execution, you can connect any algorithm to the RubiPython node. Here, we will connect the "Aggregation" algorithm to the RubiPython node.



  7. Configure the node and Run the node.
  8. After successful execution explore the result.
    • Related Articles

    • Attaching Successor Node to the Writer Node

      Using the Writer node in Rubiscape, you can store the result of algorithm flow or the reader into a CSV dataset. You can take the results from the Writer node and use them in the next task by using the RubiPython node. The Figure below shows Writer ...
    • Copying Node in Same Workbook

      Rubiscape provides a facility to copy a single node, multiple nodes, or connected nodes in the same workbook using keyboard events (shortcuts). Notes: You can copy the Node (s) in the same workbook or workflow but cannot copy them in another workbook ...
    • Node Categories

      Using Control in Workbook and Workflow Rubiscape provides a combined node hierarchy called Control in Model Studio and Data Integrator. The functionalities present herein are used to perform various tasks on Workbook and Workflow. The sub-categories ...
    • RubiNotebook

      Writing Custom Code using RubiNotebook To write your custom code using RubiNotebook, follow the steps given below. Create your algorithm flow. Refer to Building Algorithm Flow in a Workbook Canvas. Drag and drop RubiNotebook on your workbook canvas. ...
    • RubiNotebook

      Writing Custom Code using RubiNotebook To write your custom code using RubiNotebook, follow the steps given below. Create your algorithm flow. Refer to Building Algorithm Flow in a Workbook Canvas. Drag and drop RubiNotebook on your workbook canvas. ...