title: Subsetting the first 4 rows of each dataframe in a list
body: <p>I have two lists of dataframes I want to merge however they have different numbers of rows and so I want to take the first four rows of each dataframe in the list so I am able to merge them.</p>
  
  <p>I have tried several things and had not much hope so any help would be appreciated.</p>
  
  <p>This is an example of what I would like:</p>
  
  <pre><code>hitID    Data    Time                   hitID     Data      Time
  1        A        2                     1         A         2
  2        B        3                     2         B         3
  3        C        4                     3         C         4
  4        D        5
  </code></pre>
  
  <p>Thank you for your help, this is my data each list looks a little like this:
  <a href="https://i.stack.imgur.com/YNgk7.png" rel="nofollow noreferrer">enter image description here</a><a href="https://i.stack.imgur.com/SSCou.png" rel="nofollow noreferrer">enter image description here</a>
  As you can see there are some dataframes with only 4 rows. My aim is to get the data cbinded so that I have the data for one persons name for the driver followed on the same row by the data for the same persons name for the irons. This would mean I end up with a list of dataframes similar to the one above however with twice as many column from which I can select the important data from. I do not mind if this means loosing the 5th row or not. </p>