title: Importing multiple csv files in R but skipping first 25 rows and skipping different number of rows after that
body: <p>I have a folder with 396 csv files.</p>
  
  <p>The first 25 rows of each csv file is the same and so i want to skip them.Next, the 26th row is the header row that i want to keep.</p>
  
  <p>The problem is that the information i am interested in starts in different rows in the csv files.Some start at row 48, others at 36, 32... etc.I want to skip the rows after my header to the start of the row of the needed information. Is there a way to skip the first 25 rows, keep header row (26th), and automate it such that R skips rows after my header until it sees start row with the information.</p>
  
  <p>Additionally, once i reach the row i want,the values is represented every other row or other 2 rows.is there a way to solve this since it is not consistent?</p>
  
  <p>Example:</p>
  
  <pre><code>1. Name
  2....
  .
  .
  25...
  26.Header
  27....
  .
  .
  32/41/etc  12/04/2015   13:49   4     6
  </code></pre>
  
  <p>I am not sure what code to use but i started thinking of using this code:</p>
  
  <pre><code>files&lt;-list.files("filepath",pattern="*csv", full.names=T)
  names(files)&lt;-files
  headers = read.csv(files, skip = 1:25, header = F, as.is = T)
  
  
  edata &lt;- do.call(rbind, lapply(files, read_csv))  
  </code></pre>
  
  <p>I am not sure how to handle skip issue in the do.call.</p>
  
  <p>Has anyone run into a similar issue and how did you solve it?</p>
  
  <p>Thank you.</p>