<?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: Splitting values within a column into separate columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54261#M30658</link>
    <description>&lt;P&gt;Wauw thanks! I tried the split option, but I had done the group wrong...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;awesome, have a good day&lt;/P&gt;</description>
    <pubDate>Sun, 01 Apr 2018 17:58:12 GMT</pubDate>
    <dc:creator>Nleongard</dc:creator>
    <dc:date>2018-04-01T17:58:12Z</dc:date>
    <item>
      <title>Splitting values within a column into separate columns</title>
      <link>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54259#M30656</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pleas help. I cannot figure out how to split the values of a column into seperate columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My dataset is on police shootings in the US, occuring in 2015-2017. it has the following columns attached:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ID&lt;/LI&gt;&lt;LI&gt;Name&lt;/LI&gt;&lt;LI&gt;Date&lt;/LI&gt;&lt;LI&gt;Manner of death&lt;/LI&gt;&lt;LI&gt;Armed&lt;/LI&gt;&lt;LI&gt;Age&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Gender&lt;/LI&gt;&lt;LI&gt;Race&lt;/LI&gt;&lt;LI&gt;City&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;State&lt;/LI&gt;&lt;LI&gt;Signs of mental illness&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Threat level&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Flee&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Body camera&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Within&amp;nbsp;'Race', there are the given values of&amp;nbsp;A, W, H, B, N, O.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to do a decision tree on how fx Black people vs White are more likely to get shot if they were fleeing, threatning, carrying a weapon etc. As it is right now I can only target race as a variable compared to the other variables, but I cannot look into a specific race.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I can do this by splitting&amp;nbsp;&lt;SPAN&gt;A, W, H, B, N, O, into new columns where 'yes' or '1' were giving&amp;nbsp;to each individual that was that particular race, and the other races values would just be empty or be given a 'no' (see picture for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-01 at 19.10.01.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10186iA1800A5313702939/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-04-01 at 19.10.01.png" alt="Screen Shot 2018-04-01 at 19.10.01.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this even the correct way of targeting a specific race, if yes, how do i then split all the race values into their own column?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 17:11:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54259#M30656</guid>
      <dc:creator>Nleongard</dc:creator>
      <dc:date>2018-04-01T17:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting values within a column into separate columns</title>
      <link>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54260#M30657</link>
      <description>&lt;P&gt;I believe you can accomplish what you want by using&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Tables==&amp;gt;Split&lt;/P&gt;
&lt;P&gt;selecting Race as your Split By column&lt;/P&gt;
&lt;P&gt;also selecting&amp;nbsp;Race&amp;nbsp;as your&amp;nbsp; Split Columns&lt;/P&gt;
&lt;P&gt;selecting ID as your Group column&lt;/P&gt;
&lt;P&gt;and selecting Keep All option&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 17:52:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54260#M30657</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-01T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting values within a column into separate columns</title>
      <link>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54261#M30658</link>
      <description>&lt;P&gt;Wauw thanks! I tried the split option, but I had done the group wrong...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;awesome, have a good day&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 17:58:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Splitting-values-within-a-column-into-separate-columns/m-p/54261#M30658</guid>
      <dc:creator>Nleongard</dc:creator>
      <dc:date>2018-04-01T17:58:12Z</dc:date>
    </item>
  </channel>
</rss>

