Skip to main content
Solved

Stringreplacer for changing M/F to MALE/FEMALE?


Forum|alt.badge.img

I am working with crime data and need to change some fields to full names, M/F to Male/Female. Is the stringreplacer a good candidate for this? I have been using the FeatureMerger and definition tables in .csv format. Just seeing if there is a better way to do this.

 

Thanks!!

Best answer by jdh

M/F to Male/Female is easily done with the stringPairReplacer.

View original
Did this help you find an answer to your question?

3 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • June 18, 2020

M/F to Male/Female is easily done with the stringPairReplacer.


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • June 18, 2020

AttributeValueMapper would be a good transformer too


Forum|alt.badge.img
  • Author
  • June 18, 2020

@jdh I was able to it with the stringPairReplacer. Thanks!!


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