title: Scraping data from a java generated webpage with R
body: <p>The Dutch government publicizes the subsidies it gives on a website:</p>
  
  <p><a href="http://www.hetlnvloket.nl/databank-eu-subsidiegegevens-2012#" rel="nofollow">http://www.hetlnvloket.nl/databank-eu-subsidiegegevens-2012#</a></p>
  
  <p>However, it is not straighforward to get the data from the website. If you go to the site, choose 'Gemeenschappelijk Landbouw Beleid' (Common Agricultural Polici, the EU subsidy schedule) and press 'zoek' (zoek means 'search') at the bottom of the page you get a table from 100 entries. But I can't get it into R. It seems the page is generated with a JavaScript after you press 'zoek'.</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li><p>How do I scrape this from the website?</p></li>
  <li><p>How do I get the other 900 pages (there are a total of 90K records)</p></li>
  </ol>
  
  <p>I asked the government to give me this data in XLS but they won't, for 'privacy reasons'. But this way nobody can check. I don't like that. ;-)</p>