title: I am having a problem with Subsetting a data set
body: <p>I am running these three libraries</p>
  <pre><code>library(tidyverse)
  library(poliscidata)
  library(haven)
  </code></pre>
  <p>Here is my line of Code:</p>
  <pre><code>#First, find which variables=Black respondents.
  table(data$genfrace)
  
  #3=&quot;Black NH (incl. multi-Black)
  #Subset
  data.2 &lt;- subset(data, data$genfrace==&quot;3&quot;)
  
  #Check that subset worked. 
  table(data.2$genfrace)
  </code></pre>
  <p>This is my error Error:</p>
  <pre><code>Can't combine ..1 and ..2 . Run rlang::last_error() to see where the error occurred.
  </code></pre>
  <p>I am using a .Dta File and I am trying to subset the data for Black respondents but this error keeps popping.</p>
  <p>Tags</p>