title: Annotate CSV after web-scraping and before saving
body: <p>I am web-scraping numerous html tables from multiple URLs of a website and store them into individual csv files. After the scraping is done, I merge all csv files into one. Therefore, I would like to have each table individually IDed. </p>
  
  <p>So, I was wondering if there is any chance to either annotate/add an additional input (e.g. "table1") into cell A1 of the CSV file or to automatically add another column to the csv file with text input like "table1" in column K1:K12.</p>
  
  <pre><code>library(rvest)
  url &lt;- "URL of website" 
  page &lt;- read_html(url)
  table &lt;- html_table(page, fill = TRUE)
  write.csv2(table, "table.csv")
  </code></pre>
  
  <p>Thank you in advance!</p>