Reuse Recipe

Reuse Recipe with the Same Flow

The easiest way to reuse a recipe is to change its inputs in Flow View.

NOTE: You can create variation in the paths to your imported datasets. For example, if you have File01.csv and File02.csv, you can create a single dataset with parameters to capture both files and apply the same recipe to it. For more information, see Create Dataset with Parameters.

Steps:
  1. Open the flow containing the recipe.
  2. Select the recipe that you'd like to reuse.
  3. From the recipe's context menu, select Change input.... Select the object to be the input to the recipe.

Reuse Copy of Recipe in the Same Flow

You can also create copies of recipes within the same flow.

Steps:

  1. In Flow View, select the recipe to copy.
  2. From the recipe context menu, select Make a copy > WIthout inputs.
  3. The recipe is copied and added to your flow.
  4. To apply the recipe to a dataset, select from the new recipe's context menu, Change input....

Reuse Recipe with a New Flow

You can reuse a recipe by creating a copy of the flow that contains it and then replacing the recipes inputs with different sources.

Steps:

  1. In the left nav bar, select the Flows icon.
  2. In the Flows page, locate the flow that you wish to copy. In its context menu, select Make a copy....
  3. Provide a new name and description for the flow. Click Ok.
  4. Open the newly copied flow. Select the recipe that you'd like to reuse.
  5. From the recipe's context menu, select Change input.... Select the object to be the input to the recipe.
  6. Delete any unneeded objects in the copied flow.

Reuse Recipe in a Different Environment

If you need to reuse a recipe in a different instance of Cloud Dataprep by TRIFACTA® INC., you have two choices:

  1. Export the entire flow and import it into the new environment. Open the flow in the new environment. In Flow View, remove all objects that are not of interest. See Export Flow.
  2. Turn all of the steps of a recipe into a macro. Export the macro and then import into the new environment. You may choose to remove the macro from the original environment. See Export Macro.

Download Recipe

You can download a recipe in text form in the following ways:

NOTE: A downloaded recipe is in a text form of Wrangle (a domain-specific language for data transformation). In this form, it cannot be used in the application. Downloaded recipes are for archival purposes only.

  • In Flow View, select the recipe to download. From the context menu, select Download recipe.... See Flow View Page.
  • In the Recipe panel in the Transformer page, click the context menu, and select Download recipe as Wrangle. See Recipe Panel.