More Columns than Column Names?
<p>I am trying to read in a file that has 24 column headers, but 14 additional null values. See link: <a href="https://www.elections.il.gov/ElectionInformation/CandDataFile.aspx?id=51" rel="nofollow">https://www.elections.il.gov/ElectionInformation/CandDataFile.aspx?id=51</a> </p>

<p>Whenever I run the code below, I get the message </p>

<blockquote>
  <p>"more columns than column names."</p>
</blockquote>

<p>I feel like the answer is probably simple. Any idea?</p>

<pre><code>candidates &lt;- read.csv(file = "candidates.txt", sep = ",", 
                        header = TRUE, stringsAsFactors = FALSE)
</code></pre>