Refine Your Data

<< Click to Display Table of Contents >>

Navigation:  Quick Start with Content Grabber > Building Your First Agent >

Refine Your Data

In the previous section, we added commands to our agent to capture all the Cruise price content we require. The prices include a $ sign, but we want to get rid of that $ sign, so we're left with a clean number.

 

1.Firstly edit the "Inside Price" command in the Agent Explorer.

 

EditPrice

 

2.Next, we scroll down to the capture sample window, and select only the price number. You should notice that the Transformation Script button has now changed to a Generate Transformation button.
 

transformation step 1

Selecting text to Transform in the Configure Agent Command panel

 

3.Now click on the Generate Transformation button, and we can now see only the price number in the Transformed window.
 

transformation step 2

Transformed text in the Configure Agent Command panel

 

4.Click Save to save the transformation.

5.Repeat the steps above for Outside Price, Balcony Price and Suite Price.

In the next section, Output Data Format we look at the data output formats available for the extracted web data and show how to change and configure a new export target.