Skip to main content

I have two data sets - one is a 'main' dataset and the other is a 'lookup' dataset containing further information. In my main dataset I have a columns called 'Visibility' and 'road_condition' that contain a range of values from 1-13. There are over 4000 rows in the dataset. In my lookup dataset, I have 'code' and 'Column' columns that contain further information relating to each record in the main dataset. See screenshots of the data below.

 

Is there a way to create new columns in the main dataset called 'Visibility_Info' and 'Road_Condition_Info' that merges the data from the main and lookup datasets together without filtering each of the values in the 'Column' column individually before passing the data through to a FeatureMerger?

You should be able to replace the codes with the additional information with the SchemaMapper, then rename those to add the _Info suffix and then merge back to your original data

imageSo if your original data looks like this

imageAnd your lookup data looks like this

imageYou should end up with this

image


Reply