Skip to main content
Question

Merge features from Table A using a field value to Table B if the Table A value matches one of a set of comma delimited values in a field in Table B


seanclarkner
Contributor
Forum|alt.badge.img+1

A have one dataset (Dataset A) that has contains fields, one of which is CityName; example value “Sudbury”. I have another dataset (Dataset B) that contains a field made up of comma delimited AltNames; example value “Gran Sudbury,Grand Sudbury,Sudbury, etc.

I need for these features to be joined in one dataset if the value in CityName matches any one of the comma delimited names in AltNames, however different records have different numbers of alternate names and it cannot match with a section of a comma delimited value. For example, Sudbury != Grand Sudbury.

I think that lists may solve this but I’m not familiar with the transformers that might enable this process.

2 replies

liamfez
Influencer
Forum|alt.badge.img+36
  • Influencer
  • April 18, 2024

You could first use the AttributeSplitter to turn your field of delimited names into a list. You could utilize a ListExploder and then Join/Merge how you need.


seanclarkner
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • April 24, 2024

Worked perfectly, Thanks so much!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings