title: select observations based on characters
body: <p>I have a column in my dataset that R is interpreting as numeric when it should be character.  The original data was something like this: 1, 1.2, 2, 3, 4, 5, 5.2
  It's really important for working with other datasets, that R doesn't add additional 0s, but when I import my csv file, the column looks like this: 1.0, 1.2, 2.0, 3.0, 4.0, 5.0, 5.2</p>
  <p>How do I remove the extra 0s?  I was thinking something like this might work:</p>
  <pre><code>column &lt;- c(1.0, 1.2, 2.0, 3.0, 4.0, 5.0, 5.2)
  column &lt;- if_else(column *contains* 0.2, column, round(column, 0)
  </code></pre>
  <p>But I'm not sure what function to use for <em>contains</em> (this is used to pick columns based on heading). Help!</p>