Posted 2011-07-21 by & filed under Design.

This is a pretty neat tutorial we found at EagerEyes’ blog. It allows you to scrap data from a table in a HTML page and get all of that data via Google Docs, which is a spreadsheet that more and more are becoming accustomed to. 1.  Create a new spreadsheet on GDocs and enter the following expression in the top left cell: =ImportHtml(URL, “table”, num), e.g. =ImportHtml(www.piktochart.com/dataset,”list=Coffee-brewing,0)
  • URL here is the URL of the page (between quotation marks)
  • “table” is the element to look for (Google Docs can also import lists),
  • num is the number of the element, in case there are more on the same page (which is rather common for tables).
  • The latter supposedly starts at 1, but I had to use 0 to get it to pick up the correct table.
2. Once this is done, Google Docs retrieves the data and inserts it into the spreadsheet, including the headers. 3. The last step is to download the spreadsheet as a CSV file. This is a very interesting and short way of making data input possible from a website to GDocs for work!

About Author

Ai Ching

Ching is the Chief Email Officer and dedicates her time to find growth hacking ninja ways. Former P&G and Experimental Psychologist, Ching’s addiction includes supporting new projects on Kickstarter and travelling.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *