OUseful.Info, the blog…

Trying to find useful things to do with emerging technologies in open education

Data Scraping Wikipedia with Google Spreadsheets

Prompted in part by a presentation I have to give tomorrow as an OU eLearning community session (I hope some folks turn up – the 90 minute session on Mashing Up the PLE – RSS edition is the only reason I’m going in…), and in part by Scott Leslie’s compelling programme for a similar duration Mashing Up your own PLE session (scene scetting here: Hunting the Wily “PLE”), I started having a tinker with using Google spreadsheets as for data table screenscraping.

So here’s a quick summary of (part of) what I found I could do.

The Google spreadsheet function =importHTML(“”,”table”,N) will scrape a table from an HTML web page into a Google spreadsheet. The URL of the target web page, and the target table element both need to be in double quotes. The number N identifies the N’th table in the page (counting starts at 0) as the target table for data scraping.

So for example, have a look at the following Wikipedia page – List of largest United Kingdom settlements by population (found using a search on Wikipedia for uk city population – NOTE: URLs (web addresses) and actual data tables may have changed since this post was written, BUT you should be able to find something similar…):

Grab the URL, fire up a new Google spreadsheet, and satrt to enter the formula “=importHTML” into one of the cells:

Autocompletion works a treat, so finish off the expression:


And as if by magic, a data table appears:

All well and good – if you want to create a chart or two, why not try the Google charting tools?

Google chart

Where things get really interesting, though, is when you start letting the data flow around…

So for example, if you publish the spreadsheet you can liberate the document in a variety of formats:

As well publishing the spreadsheet as an HTML page that anyone can see (and that is pulling data from the WIkipedia page, remember), you can also get access to an RSS feed of the data – and a host of other data formats:

See the “More publishing options” link? Lurvely :-)

Let’s have a bit of CSV goodness:

Why CSV? Here’s why:

Lurvely… :-)

(NOTE – Google spreadsheets’ CSV generator can be a bit crap at times and may require some fudging (and possibly a loss of data) in the pipe – here’s an example: When a Hack Goes Wrong… Google Spreadsheets and Yahoo Pipes.)

Unfortunately, the *’s in the element names mess things up a bit, so let’s rename them (don’t forget to dump the original row of the feed (alternatively, tweak the CSV URL so it starts with row 2); we might as well create a proper RSS feed too, by making sure we at least have a title and description element in there:

Make the description a little more palatable using a regular expression to rewrite the description element, and work some magic with the location extractor block (see how it finds the lat/long co-ordinates, and adds them to each item?;-):

DEPRECATED…. The following image is the OLD WAY of doing this and is not to be recommended…


Geocoding in Yahoo Pipes is done more reliably through the following trick – replace the Location Builder block with a Loop block into which you should insert a Location Builder Block

yahoo pipe loop

The location builder will look to a specified element for the content we wish to geocode:

yahoo pipe location builder

The Location Builder block should be configured to output the geocoded result to the y:location element. NOTE: the geocode often assumes US town/city names. If you have a list of town names that you know come from a given country, you may wish to annotate them with a country identify before you try to geocode them. A regular expression block can do this:

regex uk

This block says – in the title element, grab a copy of everything – .* – into a variable – (.*) – and then replace the contents of the title element with it’s original value – $1 – as well as “, UK” – $1, UK

Note that this regular expression block would need to be wired in BEFORE the geocoding Loop block. That is, we want the geocoder to act on a title element containing “Cambridge, UK” for example, rather than just “Cambridge”.


And to top it all off:

And for the encore? Grab the KML feed out of the pipe:

…and shove it in a Google map:

So to recap, we have scraped some data from a wikipedia page into a Google spreadsheet using the =importHTML formula, published a handful of rows from the table as CSV, consumed the CSV in a Yahoo pipe and created a geocoded KML feed from it, and then displayed it in a YahooGoogle map.

Kewel :-)

PS If you “own” the web page that a table appears on, there is actually quote a lot you can do to either visualise it, or make it ‘interactive’, with very little effort – see Progressive Enhancement – Some Examples and HTML Tables and the Data Web for more details…

PPS for a version of this post in German, see: http://plerzelwupp.pl.funpic.de/wikitabellen_in_googlemaps/. (Please post a linkback if you’ve translated this post into any other languages :-)

PPPS this is neat – geocoding in Google spreadsheets itself: Geocoding by Google Spreadsheets.

PPPS Once you have scraped the data into a Google spreadsheet, it’s possible to treat it as a database using the QUERY spreadsheet function. For more on the QUERY function, see Using Google Spreadsheets Like a Database – The QUERY Formula and Creating a Winter Olympics 2010 Medal Map In Google Spreadsheets.

Written by Tony Hirst

October 14, 2008 at 10:21 pm

190 Responses

Subscribe to comments with RSS.

  1. My liege,

    Wow, I think I saw what I think I saw. We really have to start talking about visualizing data in a WPMu/MediaWiki environment. I will be blogging some semantic stuff I really don’t understand shortly, because you inspire me to no end.


    October 14, 2008 at 10:46 pm

  2. Oh my goodness, I’m experiencing this familiar “Tony just did something I only half-get but am totally excited about” sensation…

    I gotta get me to a remedial digital literacy class, like, yesterday.


    October 14, 2008 at 11:08 pm

  3. tony. good shit. mike


    October 15, 2008 at 8:03 am

  4. This is really awesome, now the only thing left to do is use http://f33d.in and get updates via twitter :)


    October 15, 2008 at 10:42 am

  5. This is amazingly cool; thank you!


    October 15, 2008 at 10:52 am

  6. That made my day.

    I wish I’d have realized that was possible when I did this with Jim Groom. It would have saved me a lot of time and it’s just such an elegant way to do it.




    October 15, 2008 at 11:37 am

  7. […] of all, this is not my work. All credit should go to Tony Hirst from the Open University for posting an explanation of this to his blog. Brilliant […]

  8. Brilliant and really transparent. Following your example, now anyone could do this if they wanted to (as I have done). Thanks.

    Joss Winn

    October 15, 2008 at 12:43 pm

  9. Thank you for sharing. That will be very usefull.


    October 15, 2008 at 12:53 pm

  10. Hemanth

    October 15, 2008 at 1:00 pm

  11. Amazing mashup. More importantly the =import function in Google spreadsheets is an amazing tool for building data sets for visualization and mashup projects, thanks for some killer knowledge.

    Matty Fo

    October 15, 2008 at 1:36 pm

  12. Been reading your blog for a while and this just made me shake my head… am amazed and do agree with Brian thanks!!!


    October 15, 2008 at 1:39 pm

  13. Very smart, a great example of using previously disjointed assets and creating a new way of collecting and sharing data. Thank you.

    Peter T - Webshop

    October 15, 2008 at 1:45 pm

  14. […] – Yahoo Pipes.  Live demo of taking Wikipedia data on city populations and putting them via a Googledocs spreadsheet on to a map. Explore posts in the same categories: liveblogging, […]

  15. Tony, you did a fine thing indeed! I’d like to see, for example, more transparency in our local government here in Katrineholm, Sweden where all documents (invoices included) with the exception of those involving personal privacy are online. Now, you offer interesting possibilities for information gathering and online publication via Wikipedia and then with Google Docs.

    Really, you did an excellent job Tony. Most impressive.

    Katrineholm Uncensored

    October 15, 2008 at 3:03 pm

  16. This is really cool, thanks for sharing! :-)

    Juan Pablo Pincheira

    October 15, 2008 at 3:11 pm

  17. Awesomely nifty! Really good stuff.


    October 15, 2008 at 3:16 pm

  18. Really cool stuff. This is what web 3.0 should be all about. Integrating services.

    The disadvantage in having so many pieces is that you have little control over how the flow should update the end results. If you want to publish data real time, you’d want to see it as fast as possible on google/yahoo maps. This is where some more work is needed.

    Marius Hanganu

    October 15, 2008 at 3:57 pm

  19. Well done. Just a minor correction. This:

    “consumed the CSV in a Yahoo pipe and created a geocoded KML feed from it, and then displayed it in a Yahoo map.”

    should be:

    “consumed the CSV in a Yahoo pipe and created a geocoded KML feed from it, and then displayed it in a GOOGLE map.”

    Or Yahoo then Google map.


    October 15, 2008 at 4:12 pm

  20. Tried duplicating your example but for some reason i always get a parse error ?


    October 15, 2008 at 4:45 pm

  21. Very cool, thanks for sharing :)


    I would like to do something like that with data from Yahoo Finance (and/or other source) for end of day market data (indexes, trading volume, advancing and declining issues, new highs/lows, etc.).

    Anyone can/care to help me with that, please get in touch through the contact form on my blog (linked to in this comment, I think, but if not go to http://www.chrisco.us). Would be a paid freelance project, of course.



    October 15, 2008 at 4:55 pm

  22. That’s some really excellent work. Great job on the write up as well.

    Edward Ho

    October 15, 2008 at 6:22 pm

  23. Most populous cities in Africa –


    Fun stuff.


    October 15, 2008 at 7:41 pm

  24. Wow… I think my head just exploded….

    That’s impressive. I didn’t realize you could pull data in that way from a webpage in Google Spreadsheets. Nice implementation to get it to Google Maps.


    October 15, 2008 at 8:53 pm

  25. how do you make sure the data you are using stays current? for example, if i took it from another website and put it on a map.


    October 15, 2008 at 10:21 pm

  26. First of all – thanks for all the comments folks – and apologies for the delay in replying; I’ve been offline traveling to and from – and delivering – a presentation on mashups today… :-)

    @katrineholm Uncensored – does your council have any web pages we could start to scrape?

    @chrisco – I’ll be posting a follow up post in an hour or so that may be of interest?

    @jq ta :-)

    @stacey – the google spreadsheet polls the original HTML page every so often, so updates to the page will update the data in the spreadsheet. (Of course, if the structure of the page is changed – eg by adding or removing another table in the page before the table you want to pull out – the import function will try to import the now incorrect table; screenscraping based mashups like this are always quite brittle in that a change in the page can break the way you try to get data out of it; which is why APIs are better…:-)
    The Yahoo pipe will also cache the data being pulled from the spreadsheet in the csv file.
    So whilst in an ideal world, a change to the wikipedia page would immediatley be reflected each time you refreshed the map, there is “cacheing induced latency” in the google spreadsheet and the Yahoo pipe which could mean the data is potentially minutes or hours out of date… but hopefully no more than that…

    Tony Hirst

    October 15, 2008 at 10:48 pm

  27. As I understand it there are two ways: when you want to update something in google spreadsheets you have to click on the cell with the calculation and press enter, so that it refreshes, or use a cron job to run a script that fiddles with the spreadsheet so that it updates/grabs fresh data (don’t ask me if/how that would work)


    October 15, 2008 at 10:51 pm

  28. (I just posted this on Brian’s blog, but thought I might as well post it here, given the plaudits that this is attracting…)

    Of course, superficially this is fine. But if you start to look at the data, it’s rather problematic. I was surprised to see that Manchester was listed as smaller than Bristol, of all places. It was only by going to the Wikipedia page that I understood the way in which the statistics were gathered.

    In short, a lot of information has been stripped out in this process. I don’t see much in the way of gain. And in fact, it’s become very misleading.

    Where’s the upside?

    OK, call me a cynic, but…


    October 15, 2008 at 11:50 pm

  29. Or to put it another way (and in case I didn’t sound grumpy and fuddy-duddy enough the first time), the result is a USA Today style graphic, with all the apparent virtues of clarity but the real vices of decontextualized data masquerading as information. Worse, it’s framed as a multiple-choice “pop test” as though it had some kind of educational value. It doesn’t. It’s miseducation.


    October 15, 2008 at 11:57 pm

  30. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… "So to recap, we have scraped some data from a wikipedia page into a Google spreadsheet using the =importHTML formula, published a handful of rows from the table as CSV, consumed the CSV in a Yahoo pipe and created a geocoded KML feed from it, and then displayed it in a Yahoo map." Wow, etc. (tags: yahoo google wikipedia cloudcomputing web tools scraping ) […]

  31. […] Search « Data Scraping Wikipedia with Google Spreadsheets […]

  32. […] Ran across an excellent blog posting that demonstrated this. … So to recap, we have scraped some data from a wikipedia page into a Google spreadsheet using the =importHTML formula, published a handful of rows from the table as CSV, consumed the CSV in a Yahoo pipe and created a geocoded KML feed from it, and then displayed it in a Google map. -Data Scraping Wikipedia with Google Spreadsheets […]

  33. @Jon the intention of the post wasn’t to produce an infographic, it was to document a mashup recipe. I was looking for a data table with a list of locations that I could scrape using a Google spreadsheet, then output into a geocoding Yahoo pipe and the wikipedia page was the first thing I came across that fitted the bill…

    Your comment makes an interesting point about the way data gets used, abused and inappropriately visualised, though…

    Tony Hirst

    October 16, 2008 at 12:17 am

  34. Well, your mashup recipe provides an excellent case in point of the ways in which data gets used, abused, and inappropriately visualized.

    The problem is not with the Wikipedia page, but with the way in which the information it contains has been repackaged.

    Again, in devil’s advocate role: where’s the upside here?


    October 16, 2008 at 12:24 am

  35. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… data from wikipedia to google docs to yahoo pipes to Maps KML (tags: tools *** cool hack google docs wikipedia mashup) […]

  36. @Jon “The problem is not with the Wikipedia page, but with the way in which the information it contains has been repackaged.”

    Agreed – as I just posted in a reply on Brian’s Abject blog, I should have explicitly stated the provenance of the data in both the spreadsheet and each description element of the feed generated in the pipe.

    Re: the visualisation being a crap one, my original intention was to visualise the actual population data in some way (I thought about something like this: http://ouseful.open.ac.uk/blogarchive/013580.html then thought better of it), but in the end I ran out of time… As I have done now – 1.40am and it’s been way too long a day to argue any more… ;-)

    Tony Hirst

    October 16, 2008 at 12:41 am

  37. […] Some guy over here was reading through the google spreadsheet api docs or something and came up with the idea of using […]

  38. I second Brian:digital remedial literacy class for me too, because that looks seriously cool.


    October 16, 2008 at 7:31 am

  39. […] Wikipedia > Google Spreadsheets > RSS > Yahoo Pipes > Google Maps. Y a des tordus. […]

  40. It would be neat to export the chart or map as an image, and import it into the original Wiki page, so that whenever someone updates the table on the Wiki, the map & chart are automatically updated too. I’m sure there are services which will take a screenshot of a web page. I don’t know how to export the chart, or if Wikipedia allows images to be on another site.


    October 16, 2008 at 8:54 am

  41. @chloe I think you just found another step in the chain – there is a Google maps static image API ( http://code.google.com/apis/maps/documentation/staticmaps/ ) that lets you craft a URL for a static image (gif, i think?) for a map that can be embedded in a page in the normal way (“img src=” etc)…

    No time to try it now myself – but if the lazyweb fancies having a go, please post a link back here :-)

    Tony Hirst

    October 16, 2008 at 9:49 am

  42. I think the phrase is ‘well impressed’. The bad news is I just wasted two days doing some tedious longhand stuff! Thanks for this post.


    October 16, 2008 at 11:10 am

  43. Hamarja,aisob ki lekhcos?kicui to buzte parlam na!!


    October 16, 2008 at 11:17 am

  44. […] Ouseful has posted a demonstration of how Google spreadsheets can scrape and format web data. […]

  45. I love this. Learning is so fun! Thanks:)


    October 16, 2008 at 2:22 pm

  46. Very cool mashup. Thanks for the great writeup.


    October 16, 2008 at 2:24 pm

  47. I think it’s worth pointing out that while Google’s importHTML is very cool, for many purposes selecting, cutting and pasting a table from a website into a spreadsheet (Excel, OOCalc, or Google Spreedsheets) in the standard manner will the do the job.

    While less gee-whizz, it’s a bit more approachable, and a strangley overlooked ability. (There are some odd corner cases, particularly if you use Microsoft products, but simply knowing it’s possible usually means you’ll get there in the end. I find Fireox plus OpenOffice gives the best results and most powerful results. A quick Google suggests there’s a Firefox extension for people who find themselves needing to do more)


    October 16, 2008 at 3:44 pm

  48. cool!


    October 16, 2008 at 3:52 pm

  49. This is awesome.

    Ben Yates

    October 16, 2008 at 3:59 pm

  50. Tony, I’m sorry you see this as arguing.

    Again, however, it would be great if someone, anyone, could tell me the upside.


    October 16, 2008 at 4:01 pm

  51. @jon i see it as an argument in the sense of – you know – a discussion with different positions that is capable of raising different perspectives and moving the, err,argument on…;-) And the upside is that it was just a sort of coherent way of demonstrating lots of separate techie mashup tricks…

    @dave the problem with cur and paste is that if the original table changes, your cut and pasted data is obsolete (unless the cut and paste cuts’n’pastes a reference to the table that is then imported behind the scenes). A comment on the follow-up post to this one – http://ouseful.wordpress.com/2008/10/16/visualising-financial-data-in-a-google-spreadsheet-motion-chart/ – attempts to work out just how frequently the spreadsheet does update the data.

    Tony Hirst

    October 16, 2008 at 4:17 pm

  52. Tony – I’m glad you mentioned that you had posted a comment on my blog – I had yours and three or four others inexplicably in a junk folder, which I hadn’t checked in weeks.

    Jon – I took a crack at describing what I see as the upside in response to your comments on my blog, and linked to an article I wrote last year… I suspect it will fail to convince you, but I hope it will give a sense why this is interesting to some of us.


    October 16, 2008 at 5:16 pm

  53. -This could also be useful link http://www.trendrr.com
    either port data out or into it


    October 16, 2008 at 6:03 pm

  54. Well, once you can tell me what’s the upside of these “techie mashup tricks,” then that would indeed be “kewel.”

    It would be marvellous if the argument could move on, but it doesn’t seem to me that you are willing to look at the issues here.

    It’s shiny, shiny. And worse than useless: it’s positively unhelpful.

    No wonder people’s heads are exploding. It helps if you don’t actually think about what’s going on.


    October 16, 2008 at 6:46 pm

  55. Jaw-Dropping.

    It’s almost like this web of interconnected services will actually happen after all…


    October 16, 2008 at 6:47 pm

  56. hey so much confusion can u clarify please?

    Raj Kumar

    October 16, 2008 at 7:54 pm

  57. @Jon “It would be marvellous if the argument could move on, but it doesn’t seem to me that you are willing to look at the issues here.”

    I’ve so lost the thread now… anywhere, here are a few answers (hopefully) of a sort:

    1) no provenance – agreed; I touched on that in a previous comment and on Brian’s blog; at a more substantive level, on the point that mashups strip provenance info and context away from data – agreed: we do have a “metadata maintenance” issue here. I’ll come back to this in a moment to suggest that there may be situations where that’s okay… (err, thin ice up ahead, I suspect ;-) But generally, yes – agreed: it’s an issue; only not here, not now. This is where we try to enthuse people – then we can get on to the issues…

    To pull a quote of yours from the comment thread on http://weblogs.elearning.ubc.ca/brian/archives/048641.php “Um, what is the point, then? To do something that’s “kewel”? All surface and no substance? All process and technical trickery and no actual thought or context?”

    2) Part of the point was to just document for myself some whizzy techie wiring for a workshop session I ran yesterday, and rehearse a demo to finish off the session. I’ve sat through that many dull cubed presentations, I’m trying to develop my own presentation skills (a long hard slog if you’ve ever suffered one of my presentations) and figured for the w/s I needed to try and finish with some buzz in the room. Shiny shiny…. but that’s okay, because no-one remembers anything from a presentation, just whether they came away happy, dazed, bored or enthused.

    3) Value generating and information displaying enterprise mashups are arguably on the way (e.g. http://www.forrester.com/Research/Document/Excerpt/0,7211,44213,00.html ); and one reason (IMHO) for this is that the barriers to entry in terms of usability are being lowered by the experimentation that’s going on in the public and beta web. Unfortunately, most people have no idea about what the hell a mashup is – not even the very idea; (this R/W/W post provides one way of trying to explain what mashups are about in an accessible-ish way: http://www.readwriteweb.com/archives/forrester_enterprise_mashups.php ) So the demo was in part to try to get across some the relative easy (and getting easier) process techniques available for putting these things together (pipelines, data transformation, etc), and leave me with an opportunity to say: “so that’s a mashup” at the end of the session.

    I didn’t touch on stripping away the context and maintaining provenance info in the post because that would have BORING and is best saved for a later day – when people are at least thinking about what the consequences of mashups are having seen one possible example.

    @utellit told it as they saw it: “I love this. Learning is so fun! Thanks:)” Good – yes – learning should be fun; rarely is; my view? get enthused and then do the hard work of really getting to grips with it, because you’ll be more motivated…

    4) Most people are turned off by techie stuff, or techie stuff being “too hard” – how many people do you know who don’t have a concept of right-click, or it’s benefits? So I tried to tell a story that embedded some how to’s, and if you abstract away from it and start to think about what’s going on, there is some deeper stuff in there; like what sort of processing is going on in a ‘mashup’, and what the risks are…

    5) Thin ice here: in an enterprise, where the data is hopefully quality data(?!), you can hopefully trust it; and if you learn how to mash it up properly, you can get value from it. The provenance is assumed – there is still a risk wrt loss of context though. Related story – you see lots of web stats reporting averages (averages? wtf? MEANS…); and this are often a total waste of time – the info is in the distribution, and the distribution is often not normal… Context gets dropped from data all the time… and the info processing that goes on is oftentimes lossy… but that’s not a problem if the info doesn’t mislead you into making a bad decision…

    6) as we generate more and more data, we’re gonna have to start learning about visualisation. Many people don;t get the idea of uncovering relationships in data through visualising it; we have to start somewhere with the visualisation education programme; maps are good for that… we have to start somewhere… and if the visualisation is a bad one, in viz 101 that’s maybe not so bad because the idea is to get across the idea of doing visualisations at all. I remember physics at school: each year we were told to forget what we’d done the previous year because it was just an approximation to the truth – and we’d be doing the truth this year…

    And finally, as I understand “kewel”, it’s a way of making fun of (people who use) the word cool who are maybe not the sort of people who can get away with saying cool… so I said “kewel” to suggest that I suspected people would get off on the shiny, shiny of the post… which is ok, because the path to enlightenment is a long one, and it’s important to enthuse people about this stuff in the beginning…

    Phew – too long a comment – If the above doesn’t address any of your points, could you try expressing them in a different way, ‘cos I’m obviously not understanding them…

    Tony Hirst

    October 16, 2008 at 9:08 pm

  58. […] October 16, 2008 Tinkering Following on from a the previous posts in which I looked at pulling data tables out of wikipedia into a Google spreadsheet and accessing financial data within Google spreadsheets, in this post I’ll show you some of […]

  59. Tony, got your comment on my blog. Thanks for the inspiration. I ended up using Pipes to clean up a feed of market information for the game Eve Online, fed it to a Google Spreadsheet, and use it to calculate profit margins on the production of pretend ships and pretend guns.

    Here’s my pipe and here’s a snapshot of the spreadsheet it feeds.

    Not really a *real* application, but its certainly useful within the pretend world of Eve.

    Chris McAvoy

    October 17, 2008 at 12:15 am

    • Chris: I love your pipe, not sure how to use it yet though. I started today thinking I would find a way to get up-to date prices for materials needed for POS operation.

      I think where i’m stuck on is where to find the typeID of the item i’m looking for. My spread sheet is set up at the moment but not sure how to pull the info in.

      Aundreaus Fortiz

      July 30, 2009 at 8:42 pm

  60. […] Data Scraping Wikipedia with Google Spreadsheets […]

  61. Tony, I think that the basic issue is that what you regard as “BORING” seems to me to be rather fundamental. Indeed, it seems rather clearly to be a way of avoiding asking the question of “the consequences of mashups.”

    Yes, you’ve given an example. And I’m now asking about the consequences of this process. I think that, certainly for this example, they are uniformly negative. Which is why I was asking if there were any upside to this representation of a partial, decontextualized dataset in a new environment. Again, I still see no advantages, while I see many, many disadvantages.

    No doubt you’ll think I’m exaggerating, but I think that this post, and the reaction to it, is profoundly discouraging. I’m sorry to be the drag on the “kewel” party by talking about what’s so damn “BORING.” But it seems to me to be important. I’ve written up some further thoughts here.


    October 17, 2008 at 8:36 am

  62. […] Потрясающие вещи можно делать современными веб-инструментами, если грамотно их применить, Data Scraping Wikipedia with Google Spreadsheets […]

  63. And perhaps finally, at least for now, a quick response to your points here…

    1) I think the issue is about more than provenance, though providing provenance would certainly be a leap forward. We’re agreed on that. We also agreed that at least some mashups can “strip provenance info and context away from data.” But I should make it clear that I’m not against mashups per se. Some can definitely enhance rather than degrade both data and understanding. But I do think that this question (as to whether there is enhancement or degradation, or more generally the effects of the various transformations undergone in a mashup process) needs to be front and central at all times. It would seem that that’s our basic disagreement: you want to postpone that until some unspecified later date; for now it’s “BORING” and beside the point. Again, I strongly disagree. Postponing such questions is (as I say on my blog) a textbook case of data illiteracy. Moreover, I’m disappointed that enthusiasm is allowed to overwhelm critique so easily.

    2) I like interesting presentations, too. I disagree that thinking critically is necessarily boring. And I don’t like presentations that are whizzy but lack substance.

    3) I’d like to believe that “value generating and information displaying enterprise mashups are arguably on the way.” I think, however, that the links you provided are rather worrying examples of quite the opposite trend: “there is plenty of money to be made selling mashup platforms. . . . Those vendor strategists that move quickly, plan a mashup strategy, and build a partner ecosystem will come out on top”. Ugh. That’s certainly a different definition of “value” than the one I would hope might come out of such tools. Ugh. And learning should be fun. But all that is fun is not learning.

    4) Techie stuff can certainly be bewildering. It makes some people’s heads explode. Hence the vital importance of critical data literacy, precisely so that people “start to think about what’s going on, there is some deeper stuff in there; like what sort of processing is going on in a ‘mashup’, and what the risks are.” I’m all for this.

    5) See above for my fear as to what you may mean by getting “value” from data. Meanwhile, my more basic point is that it’s not so much a question of having quality data or not: I’m happy to accept that for this purposes the Wikipedia data is of sufficient quality. What’s at stake is the ability to interpret that data. Again, that’s what I consider to be the realm of data literacy. I’m sure that some mashups, and some transformations, aid in such interpretation. Others do not. But figuring out which is which is, again, vital. It can’t be postponed.

    6) Finally, I’m all for a “visualisation education programme.” But again, my comparison with the USA Today visualizations is to point out that such education needs to have critique at its core. Not necessarily enthusiasm. Or rather, surely the point is to encourage enthusiasm for critique. That’s what I see my job, at least, as being about. More broadly, as I say, it’s what I see as being the role of the university.


    October 17, 2008 at 1:40 pm

  64. Ach, I just wrote a long comment in response to your six points. It seems to have got lost somewhere. Oh well.


    October 17, 2008 at 1:43 pm

  65. @jon it was being held as spam for some reason (not my doing… not sure I understand how WordPress makes its spam detection decisions?); should be in the comment stream now…

    Tony Hirst

    October 17, 2008 at 1:55 pm

  66. […] from a website into Google Spreadsheets? It’s pretty easily action. This is an example from http://ouseful.wordpress.com – The Google spreadsheet function =importHTM(””,”table”,N) will scrape a table from an […]

  67. Tony, no probs. No conspiracy theorizing here!


    October 17, 2008 at 4:37 pm

  68. Amazing.


    October 17, 2008 at 4:56 pm

  69. […] ran across an amazing post the other day that creates a mash-up using a number of tools. Here’s what the author does; he […]

  70. When I was kid, I did this kind of maps when I was at school, by using a table on some schollar book and a map. Who didn’t? What’s new? The auto-magical update through the pipes?

    From the linked page at Forrester:
    “The Mashup Opportunity.
    How To Make Money In The Evolving Mashup Ecosystem.
    Download and print PDF immediately. Price: US $775″

    They will certainly make money if the sell an e-book at that price. :|

    It seems the Web is becoming more and more a cash register, an entertainement place, than a place to share documents and scientific data. Nothing wrong with that, my job at work is creating commercial/entertaining sites for small/medium business.


    October 17, 2008 at 10:57 pm

  71. […] Most mashups are very one-off, self contained little things. They may be useful for vertical purposes, which is fine – I need this, now. But in general they don’t lend themselves to er, generalisation. Dan Brickley just spotted an instance which is vertical, but only because the end-user (I can use that phrase, ya?) chose to do it that way: Data Scraping Wikipedia with Google Spreadsheets […]

  72. […] interesting approach to repurposing data in ways that most people wouldn’t imagine. Have a look at data scraping wikipedia with Google spreadsheets. It’s a bit technical at stages. But it’s a great example of creativity driven by […]

  73. […] 18 October 2008 (Saturday) Reading a thread on the mysociety list, which discusses a posting showing a mashup technique “with no coding required” and a subsequent critique of the specific mapping […]

  74. Really interesting. I”m looking for ways to integrate public data into my companies’ data warehouse. Thanks you for posting this.

    Dan Murray

    October 18, 2008 at 12:20 pm

  75. […] OUseful.Info blog describes a method for converting a Wikipedia table into linked data. In short, the author scrapes a Wikipedia table […]

  76. BTW: you can do that with MS Excel since Office XP (I think). Data->Import External Data->New Web Query. Click on one or more of the arrows to switch it to a green checkmark and press the “Import” button.

    Works even with password protected websites, Excel will ask you for your login data when you open the spreadsheet then.


    October 19, 2008 at 3:47 am

  77. […] Del.icio.us Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… Prompted in part by a presentation I have to give tomorrow as an OU eLearning community session (I […]

    Daily Del.icio.us

    October 19, 2008 at 4:00 am

  78. […] Daten aus Wikipedia in Google Maps visualisieren […]

  79. […] Feed Item View This Article  Email This To A Friend   […]

  80. […] post di Tony Hirst spiega in modo chiarissimo la tecnica utilizzata, denominata data scraping. I tool utilizzati sono […]

  81. […] A blog post syndicated in the product page from one of the book’s authors that linked to my post on Data Scraping Wikipedia with Google Spreadsheets. […]

  82. […] can get a better idea of what you can do with this from Ouseful… where Google Spreadsheets gets mashed with Wikipedia and Yahoo Pipes and Google maps with an […]

  83. […] OUseful.Info: Data Scraping Wikipedia with Google Spreadsheets I’m not sure how I would use this, but here’s an interesting workflow for pulling data out of Wikpedia and manipulating it with Yahoo! Pipes. […]

  84. […] Data Scraping Wikipedia with Google Spreadsheets […]

  85. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… […]

  86. […] OUseful.info blog has a good post on how you can use importHtml to pull in a table from Wikipedia. It even goes so far as to pump the resulting spreadsheet into Yahoo! Pipes to map the data. If you […]

  87. So. Awesome.

    Do you mind if I show this off to people?

    Mano Marks

    October 29, 2008 at 12:37 am

  88. If I have name and address only(Japan Language) , I would like to show location how can do. I try to do many an hour but Y Location not appears.
    Plz Help Me —


    October 29, 2008 at 3:06 am

  89. Really great.
    But some cities aren’t on the right place(?)

    Same problem to me with this Article:
    and the result:

    seem, that the missing cities lay over the last found city

    Does anyone have an idea to fix this problem?

    Many greetings
    plerzel ;-)


    October 29, 2008 at 6:42 pm

  90. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… (tags: yahoopipes wikipedia tutorial spreadsheet web2.0) […]

  91. […] data scraping wikipedia with google spreadsheets « ouseful.Info, the blog… über den import ausgewählter wikipedia-daten in google spreadsheets (tags: google wikipedia mashup tutorial tools scraping spreadsheets data web2.0 via:mento.info) hier merken, bewerten und empfehlen: […]

  92. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… Prompted in part by a presentation I have to give tomorrow as an OU eLearning community session (tags: ouseful.wordpress.com 2008 mes9 dia30 mashup google_spreadsheets Yahoo_Pipes Wikipedia blog_post) […]

  93. Stunning!

    You made me to study geocoding by Spreadsheets.

    Yes, you can geocode on Spreadsheets

    Still you need Pipes for KML. Funny.


    October 31, 2008 at 10:04 pm

  94. Thank you ESA – Great
    pipes find all cities on the right places :-))


    November 1, 2008 at 2:42 pm

  95. Has anyone figured out how to use a published Google spreadsheet as an external data source for Excel?


    November 1, 2008 at 3:59 pm

  96. thanks again. I wrote a german article in my blog about that.
    For those who are interested…..


    November 1, 2008 at 9:04 pm

  97. thanks again. I wrote a german article in my blog about that.
    For those who are interested…..


    November 1, 2008 at 9:05 pm

  98. Great, plerzelwupp

    I can see that you geocode by Spreadsheets but do the KML conversion by Pipes.



    November 1, 2008 at 9:54 pm

  99. […] — Pierre @ 1:27 –>Published by Keir Clarke 23 hours agoTony Hirst of the Ouseful.Info blog has written an excellent article explaining how you can use the importHTML function in Google […]

  100. thank you, ESA – I mixed your proposal (geocode by google) with this one (kml by pipes) …. the pipes location extractor works better, when you feed it with longitude and latitude. Google nearly found every of those 52 cities (except of four). The last 4 cities where found, as I feeded google with city and country (not only city).

    Thanks again, Tony and Esa – and many greetings from germany


    November 2, 2008 at 8:10 pm

  101. Help ME PLZ, I do not known why map not shown , Please recommend Plz !!!!
    Thx so lots

    Pips has problem


    November 3, 2008 at 3:54 am

  102. I confuse a thing , My pipe show Lat and long ,but when I run Pipe the map not appear , just show list.
    How can I fix this problem.

    Plz Help me, (:

    My pipe which has problem


    November 3, 2008 at 4:04 am

  103. This is awesome! Thanks!

    Patrick Keenan

    November 4, 2008 at 10:48 pm

  104. […] Scraper Wikipedia avec Google SpreadSheets. […]

  105. Thanks so much for this awesome post. The only issue I have is that the wiki I want to scrape data from is behind a firewall and cannot be accessed without signing in. I wonder is there anyway out of this because it’s RSS feeds etc cannot be accessed externally. I’m looking at some mediawiki extension that might push the wiki page data externally so I can then use google spreadsheet, yahoo pipes etc. Any ideas?

    Richard Fahey

    November 8, 2008 at 9:40 pm

  106. @richard
    It won’t be approved of, but if you have a DMZ server that sits on the internal network (ie can see internal URLs) and also faces outside, you can set up a simple proxy that will relay the feed into the public domain…

    Of course, I can’t recommend such practice ;-)

    If the login to the wiki is via http, then you may be able to pass user id and pwd in via URL. That is, if you can get a feed out using something like http://example.com/feed.xml?id=myID&password=secret

    Tony Hirst

    November 9, 2008 at 12:52 am

  107. […] How To: Parse data from wikipedia using Google Spreadsheets […]

  108. […] here: Geocommons Makes it Easy for Anyone to Mashup Data & Maps. You might also find this technique for geocoding data from a Google spreadsheet useful… Possibly related posts: (automatically generated)Confused About the Consequences023 […]

  109. […] though, are the definition of “web 2.0″. Ouseful discovered how to use Google Spreadsheets to translate “foreign” HTML to RSS, and then Yahoo for geocoding. Arachnode is an open source (for SQL Server and C#!) home scraping […]

  110. […] data into Google spreadsheets then geocoding it with a Yahoo pipe” posts along the lines of Data Scraping Wikipedia with Google Spreadsheets, but a post on Google Maps mania – Water Quality Google Map – sent me off on a train of thought […]

  111. […] I head over and start following the steps in Tony Hirst’s blog, learning that someone can go from this list of statistics in […]

  112. […] I ran through the Data Scraping Wikipedia with Google Spreadsheets mashup; somewhere along the way, the idea of a “speed mashup” was introduced… […]

  113. Great post! This inspired me to write a blog post about my personal technique for geocoding spreadsheets data:


    Pamela Fox

    November 27, 2008 at 12:21 pm

  114. […] to the inspiration and help from Tony Hirst I managed to create a mini intelligence engine using python, GoogleDocs and Yahoo […]

  115. […] by admin on January 17, 2009 in Uncategorized. I came across a useful post on the blog ouseful.wordpress.com. The blogger, Tony Hirst, blogs about whatever he finds interesting. He figured out a way to scrape […]

  116. http://www.alpheta.com – please take a look if you’re interesed in data scraping


    February 10, 2009 at 1:03 pm

  117. how do you copy and paste the url in to the query ()in google doc’s. it wont allow me too

    ernie espinoza

    February 13, 2009 at 11:33 pm

  118. […] that spirit I wanted to share a great post by Tony Hurst where he explains how you can  ‘Data scrape’ Wikipedia with Google Spreadsheets to get a map like the one above. [W]e have scraped some data from a wikipedia page into a Google […]

  119. Can you pass pwd and user ID in url?


    February 21, 2009 at 9:04 pm

  120. […] Spreadsheets as well to gather data from pages. There is an excellent tutorial on ouseful about how to scrape data from Wikipedia tables, and import it into a google spreadsheet where you can tweak it a little. In the example, they […]

  121. Here is a post regarding techniques for ‘Scraping your way to RSS feeds’ albeit in a non-programmatic (layman) way:


    Shahriar Hyder

    April 16, 2009 at 2:30 pm

  122. […] scrapes data into Google spreadsheet and posts it to Google Maptools used: data scraping wikipedia from ouseful.wordpress.com and Google Maps spreadsheet […]

  123. […] The idea of mashups of distributed content is by now well known. However, you really need a bit of programming background to do this kind of operation well – either through APIs or web services or software designed to program mashups. Tony Hirst shows what can be done with “screenscraping” using Google Spreadsheets. […]

  124. […] [upmod] [downmod] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… (ouseful.wordpress.com) 2 points posted 7 months ago by jeethu tags google scraping mashup […]

  125. […] from, say, Wikipedia and display it on Google maps? Ever paid anyone a massive day rate to do so? Then this is the hack for you. From Wikipedia to Google Docs to Yahoo Pipes and thence to Google Maps (via Yahoo Maps). From the […]

  126. […] from, say, Wikipedia and display it on Google maps? Ever paid anyone a massive day rate to do so? Then this is the hack for you. From Wikipedia to Google Docs to Yahoo Pipes and thence to Google Maps (via Yahoo Maps). From the […]

  127. Hi,

    I have tried to do the first step (importHTML) in Google Docs and it does not work with comma (,) separator, but changed to semi-colon (;) and worked fine.

    Great article, congratulations!

    Olga Revilla

    June 11, 2009 at 9:32 am

  128. […] how to get data out of the silos and into the mashup space in an appropriate format (for example data scraping from WIkipedia); – enhance patterns (”extend the capabilities of existing resources”) show how to […]

  129. […] Docs being used to scrape this page using the importHTML() function (see Tony Hirst’s excellent blog post for a better […]

  130. […] Data Scraping Wikipedia with Google Spreadsheets […]

  131. […] I especially enjoyed the article on using Google spreadsheet to scrape wikipedia. […]

  132. I wanted to ask if someone out there might be able to demonstrate how I could introduce into my map a third data point to display. Right now I have the location and name displaying but also need the date if at all possible. Any ideas?

    Edward Metz

    August 27, 2009 at 4:56 am

  133. Well done!

    I wrote a blog post doing something related; how to create a server monitor using a Google Spreadsheet and a little PHP.


    I have some ideas about how to create some other stuff using approaches like these.

    Stephen Akins

    November 17, 2009 at 3:59 am

  134. […] throw-away extraction script, I remembered having read something about Google Docs being able to import tables from websites. And indeed, it has a very useful function called ImportHtml that will scrape a table from a […]

  135. […] I’ve come across a neat method of using the ImportXML function on Google Docs to extract lists from a web page into spreadsheet (from there you can paste into the Google Keyword Tool to get volumes). Credit goes to this post for the how to us http://ouseful.wordpress.com/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/. […]

  136. […] PS see also Data Scraping Wikipedia with Google Spreadsheets […]

  137. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… (tags: tools tutorial google howto pipes spreadsheet yahoopipes scraping docs rss data mashup googlemaps tables maps onlinenewspapers) […]

  138. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… The Google spreadsheet function =importHTM(“”,”table”,N) will scrape a table from an HMTL web page into a Google spreadsheet. The URL of the target web page, and the target table element both need to be in double quotes. The number N identifies the N’th table in the page (counting starts at 0) as the target table for data scraping. (tags: tonyhirst spreadsheets tutorial scraping yahoopipes mapping googledocs googlemaps) […]

  139. […] docs I pulled data from tables in websites into a spreadsheet, rather than retyping the info (Tony Hirst wrote a blog post about doing this). Sometimes, because the words weren’t in a table, I had to copy/paste the data into the […]

  140. This is plain lovely, and Jon’s comments are useful too. I’m curious why the resulting map on both Pipes and Google Maps only shows certain cities/towns?

    Paul Bradshaw

    March 9, 2010 at 9:43 am

    • The Yahoo pipes geocoder is a little hit or miss, and sometimes doesn’t disambiguate or identfy placenames so well; if a placename isn’t recognised and geocoded, then that item doesn’t get plotted.

      What I really need to get round to doing is looking at using something like Yahoo Placemaker to see if it’s any more reliable (I don’t think the Pipes Location Extractor is Placemaker… though I’d have to run a few tests to check…)

      Tony Hirst

      March 9, 2010 at 11:55 pm

  141. I found this article very inspiring. I would love to know if there is a way to flatten nested tables e.g. table>tr>td*3>table>tr>td*2 would become talbe>tr>td*4 (hope you understand this zen html syntax) nested tables are a mess! But I guess this is what data scraping is all about, getting data from information sources that are messy :)


    March 19, 2010 at 9:56 am

    • I haven’t found a way of handling the import of nested tables using Google spreadsheets yet… :-(

      Tony Hirst

      March 19, 2010 at 1:01 pm

  142. […] I found a couple of fascinating blog posts on how to mashup data from anywhere on the web with Google spreadsheets and Yahoo pipes.  To see the exact steps on how […]

  143. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… "Scrape data from a wikipedia page into a Google spreadsheet using the =importHTML formula, published a handful of rows from the table as CSV, consumed the CSV in a Yahoo pipe and created a geocoded KML feed from it, and then displayed it in a YahooGoogle map" (tags: howto data wikipedia html tables import spreadsheet publishing content sharing csv maps pipes mashup kml google mapping) […]

  144. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… #onlinejournalism If you really want to play with feeds, CSV & Pipes see http://bit.ly/ccNs4I (tags: onlinejournalism via:packrati.us) Possibly related posts: (automatically generated)links for 2010-03-19Some HoeVanity Fair and the dying art of print journalism […]

  145. That’s great! Otherwise you can go through APIs from services like freebase, but going direct means you get the most recent data.

    We went direct with our Wikipedia Google Maps mashup. http://maps.thefullwiki.org We went through the entire Wikipedia dump and created a map for each article showing each location.

    Luke Metcalfe

    June 29, 2010 at 3:15 am

  146. […] is not the only screen scraping tool out there. In fact, you can do simple scraping with Google Spreadsheets, the OutWit Firefox extension, or Yahoo! Pipes, to name just a few. And if you’ve never done […]

  147. this is really cool, thanks for this info in using google spreedsheet.. thanks


    July 21, 2010 at 1:08 am

  148. […] posts describing how to scrape tabluar data from a web page and get it onto an embeddable map (Data Scraping Wikipedia with Google Spreadsheets). She’d been looking at live crime incident data from the Dallas Police, and had managed to […]

  149. […] like Yahoo! Pipes and the Firefox plugin OutWit Hub. If the data is in a HTML table you can even write a one-line formula in Google Spreadsheets to pull it in. Failing all the above, you might just have to record it by hand – but whatever you do, make […]

  150. […] que “barre” el contenido HTML de un documento y extrae la información que precisemos, Google Spreadsheets, o Yahoo! Pipes. Si quieres más, Scraperwiki es una web colaborativa donde los usuarios aportan […]

  151. Thank you very much for sharing this info. I’m using Yahoo! pipes for quite a while, but I never thought to generate mash-up like this.

    Very useful. I will have a try just to make a bit more practice.

    Enjoy the rest of your day.

    Andrea Moro

    April 15, 2011 at 8:30 am

  152. […] Data Scraping Wikipedia with Google Spreadsheets […]

  153. FYI: The formula for scraping with a Google Spreadsheet has changed (or there is a typo here).

    It’s =importhtml(“”,”table”,N) – ie there’s an “L” after the HTM.

    Super useful post though – thanks…

    Freelance Unbound

    June 26, 2011 at 8:29 am

    • Arghh – no – typo.. well spotted: thanks:-)

      Tony Hirst

      June 27, 2011 at 8:25 am

  154. […] like Yahoo! Pipes and the Firefox plugin OutWit Hub. If the data is in a HTML table you can evenwrite a one-line formula in Google Spreadsheets to pull it in. Failing all the above, you might just have to record it by hand – but whatever you do, make […]

  155. […] to be very interesting. It's much too long to post straight on here in a comment: http://blog.ouseful.info/2008/10…This answer .Please specify the necessary improvements. Edit Link Text Show answer summary […]

  156. […] I mourn for Wikipedia Tony Hirst wrote an amazingly useful and comprehensive blog post on this: see http://blog.ouseful.info/2008/10…This answer .Please specify the necessary improvements. Edit Link Text Show answer summary […]

  157. […] like Yahoo! Pipes and the Firefox plugin OutWit Hub. If the data is in a HTML table you can even write a one-line formula in Google Spreadsheets to pull it in. Failing all the above, you might just have to record it by hand – but whatever you do, make […]

  158. Hi, this is pretty interesting. Thanks for sharing.

    I have been working on a plugin for WordPress that helps to import data into individual WP posts.
    I think you can try it or might be useful. http://wordpress.org/extend/plugins/wpsync/

    I am envisioning to use your technique so I can build a site quickly from data processed with pipes using your approach. Thanks.


    October 13, 2011 at 7:43 pm

  159. […] tips to OUseful.Info for this trick :) LD_AddCustomAttr("AdOpt", "1"); LD_AddCustomAttr("Origin", "other"); […]

  160. […] blog.ouseful.info/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/ Filed under: Uncategorized Leave a comment Comments (0) Trackbacks (0) ( subscribe to comments on this post ) […]

    data scraping « DevXS-UCAS

    November 12, 2011 at 9:41 pm

  161. use yql
    yahoo developer network

    aft try

    March 26, 2012 at 5:53 pm

  162. […] How to Scrape Websites for Data without Programming Skills Outwit firefox extension Data Scraping Wikipedia with Google Spreadsheets […]

  163. […] 0 Comments By Martin Hawksey Share this post on: Google+ | Facebook | Twitter | LinkedInThis one Data Scraping Wikipedia with Google Spreadsheets…If you want to know how I arrived at this conclusion it’s mostly the same process as And the […]

  164. […] como Yahoo! Pipes y el Firefox plugin OutWit Hub.  Si los datos están en HTML puedes escribir una fórmula de una línea en las hojas de cálculo de Google para sacar la información. Si todo lo anterior falla, tendrás que hacerlo a mano, pero hagas lo que hagas, asegúrate de […]

  165. With havin so much content and articles do you ever run into any issues of plagorism or copyright violation?
    My blog has a lot of unique content I’ve either created myself or outsourced but it looks like a lot of it is popping it up all over the internet without my agreement. Do you know any methods to help prevent content from being stolen? I’d genuinely appreciate it.

    Company Chittagong

    September 4, 2012 at 9:19 am

  166. hoca mükemmelsin yahu


    September 4, 2012 at 10:04 am

  167. […] Data Scraping Wikipedia with Google Spreadsheets […]

  168. […] using python and R. I found an easy way to scrape data using Google spreadsheet as described in Tony’s blog. After randomly downloading some world economic data I wondered how to represent them using R or […]

  169. […] One of my most successful posts in terms of lifetime traffic numbers has been a recipe for scraping data from a Wikipedia page, pulling it into a Google spreadsheet, publishing it as CSV, pulling it into a Yahoo Pipe, geo-coding it, publishing it as a KML file, displaying the KML in Google maps and embedding the map in another page (which could in principle be the original WIkipedia page): Data Scraping Wikipedia with Google Spreadsheets. […]

  170. Hiya! I know this is kinda off topic nevertheless I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest authoring a blog article
    or vice-versa? My site goes over a lot of the same subjects
    as yours and I believe we could greatly benefit from each
    other. If you’re interested feel free to send me an e-mail. I look forward to hearing from you! Excellent blog by the way!


    February 15, 2013 at 6:45 pm

  171. Awesome. Now I just need to work out how to do it on a private (ie logon required) site, as I have loads of data i could manipulate that i can’t really get to otherwise, any ideas?


    February 16, 2013 at 2:20 pm

  172. […] Data Scraping Wikipedia with Google Spreadsheets « OUseful.Info, the blog… […]

  173. Can’t get my pipes to work. any ideas? i can get it in the correct format using this =QUERY(ImportHtml(“http://en.wikipedia.org/wiki/List_of_largest_United_Kingdom_settlements_by_population”,”table”,2),”SELECT Col1, Col2, Col3 LABEL Col1 ‘rank’, Col2 ‘city’, Col3 ‘population'”)
    in google docs, but it is not showing up correcting in pipes. Appreciate any help!!


    March 26, 2013 at 3:11 am

  174. Very nice, elaborate tutorial. Decided to write one myself on leveraging ImportHTML() to make a cool map visualization of facebook usage data.

    Let me know what you think: http://spreadsheetpro.net/using-importhtml-to-scrape-facebook-usage-numbers/


    March 31, 2013 at 2:10 pm

  175. I get pleasure from, cause I found just what I was having a look
    for. You have ended my 4 day long hunt! God Bless you man.
    Have a great day. Bye

    the last of us download

    November 18, 2013 at 6:42 pm

  176. […] tips to OUseful.Info for this trick […]

  177. […] ^ http://blog.ouseful.info/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/ […]

  178. […] * Google Dökümanlar’dan yararlanarak adım adım veri görselleştirilmesinin anlatıldığı bir blog ( http://blog.ouseful.info/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/ ) […]

Comments are closed.


Get every new post delivered to your Inbox.

Join 1,414 other followers

%d bloggers like this: