title: Extract tables from pdf files that goes over one page in R
body: <p>I want to extract <a href="https://drive.google.com/file/d/15kP4wMRb12Z0MH9vv3ytcmluA2krQUpK/view?usp=sharing" rel="nofollow noreferrer">a table from a pdf file</a> and analyze it in R. I´m using tabulizer::extract_tables() function.</p>
  
  <p>The table goes over more than one page (page 6 to 9). When I use extract_table function I receive a list object with 12 elements. The table I want is in the elements <code>out[[1]]</code> to <code>out[[4]]</code></p>
  
  <p>The problems are: my table doesn´t have a header in all pages and the document has its own header. Therefore, the function cannot delimitate the right number of columns. The element <code>out[[1]]</code> has 4 columns, <code>out[[2]]</code> and <code>out[[3]]</code> have  2 columns and <code>out[[4]]</code> has 1 column. Is there any way to at least get the right number of columns in all 4 elements?</p>
  
  <p>Code:</p>
  
  <pre><code>library(tabulizer)
  
  arquivo &lt;- "1236_Pombos_PE.pdf"
  out &lt;- extract_tables(arquivo, output = "data.frame", encoding = "UTF-8")
  </code></pre>