<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691202#M87717</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Contains(:Description, "WORD") &amp;gt; 0&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Formula column with above formula using &lt;A href="https://help.jmp.com/help?keyword=JSL%20Contains&amp;amp;lang=en&amp;amp;os=win&amp;amp;source=application&amp;amp;version=17.0.0" target="_self"&gt;Contains()&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 09:08:48 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-10-27T09:08:48Z</dc:date>
    <item>
      <title>How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691182#M87714</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a set of data, containing a column with part nr and a column with varying descriptions of the corresponding numbers.&lt;/P&gt;&lt;P&gt;Based on that data, I want to add another column, that automatically labels all rows which contain "WORD" in the description column as 1, the others as 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VariancePanther_0-1698396833553.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58031i348B0595B664F80A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VariancePanther_0-1698396833553.png" alt="VariancePanther_0-1698396833553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What is the best way to do this?&lt;BR /&gt;&lt;BR /&gt;Thx in advance&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 09:00:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691182#M87714</guid>
      <dc:creator>VariancePanther</dc:creator>
      <dc:date>2023-10-27T09:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691196#M87715</link>
      <description>&lt;P&gt;See if the attached example is what you want. It contains a formula column in column "WORD?" that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ressel_0-1698397601504.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58032iE432647BF634DEF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ressel_0-1698397601504.png" alt="Ressel_0-1698397601504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You should be able to change the string ("WORD") to any other string to match your search criteria. Respond, if you need more help.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 09:08:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691196#M87715</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2023-10-27T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691202#M87717</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Contains(:Description, "WORD") &amp;gt; 0&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Formula column with above formula using &lt;A href="https://help.jmp.com/help?keyword=JSL%20Contains&amp;amp;lang=en&amp;amp;os=win&amp;amp;source=application&amp;amp;version=17.0.0" target="_self"&gt;Contains()&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 09:08:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-assign-a-new-column-with-categorical-data-which-is/m-p/691202#M87717</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-27T09:08:48Z</dc:date>
    </item>
  </channel>
</rss>

