For this to answer the real question it would have to work on a map from the 1920s.
There used to be far more pubs in the British Isles than there are now: in some cases 6x as many (for instance the Village of Cottenham where I used to live once had over 30, it now has 5).
Less pedantically, it does not seem like anyone has tried following the route to make sure that there aren't any pubs on it (the article even mentions that it initially passed two pubs, so it is plausible that there are others not included in the OpenStreetMap data).
Why has the number of pubs gone down so much? Have pubs consolidated into fewer larger pubs or is the time spent in pubs down drastically because of other entertainment? I guess I still have a romanticized view of Ireland with uilleann pipers in every pub...
Pubs and legislation has changed. At the turn of the last century (1900s) people could open their front room as a small pub. So while a small village might have 30 pubs few of them were Inns - the large pubs that we are used to. Ireland kept the small room longer than England - they still exist in the west.
While a front room with beer on sale may not be our modern idea of a 'pub' it would have figured in James Joyce's quote.
1. Pubs are very expensive to run, and are difficult not to make a loss on. Rent goes up and up, and chain's prices go down.
2. The smoking ban in England caused a lot of pubs to be tipped over the edge and had to close down.
3. The price of alcohol being increased through taxes has had quite an effect.
So in recent terms, I'd say these changes in society has led to a lot fewer pubs. However, I don't know much about the history of pubs in GB, so there was probably an earlier decline with alternative reasons - which I'd be interested in hearing.
Some of those would apply to Ireland, and some not. Ireland has some differences from the UK for pubs. 99.9999% of pubs are not chain pubs. A chain pub here, might have 3 pubs. All pubs are 'free houses' and can sell anything. (This means they sell all the same big brands. There's none of the Real Ale/CAMRA stuff which is a shame). Likewise there was a smoking ban a few years before UK.
No new pub licences have been issued in about 100 years. So if a country pub closes down, the licence is usually sold on (for €€€€) to open another pub somewhere else.
Also, Tesco and other supermarket chains sell six-packs and crates of lager for £ cheap at the low end, and have huge ranges of real ales and imported wines at the other end.
People may drink less now, but they also drink differently.
I'd suspect the law has gotten much stricter about who's allowed sell beer. There were probably a lot of speakeasies and people operating small public houses out pc their houses.
There is a project on OSM to also tag historical information. If this project was far enough, then you could take for example year 1920 and run the same algorithm. But with the current dataset, this is the reasonable "best effort"
Do night clubs count as pubs? The route passes right in front of Krystle/Dicey's on the junction of Clonmel and Harcourt Streets (just after going through Iveagh Gardens - btw what do you do at night when they're closed? ;)).
Now, Krystle and Dicey's are, afaik, both owned by the same hotel and they are officially classed as nightclubs. However, most of their clientele are not hotel guests and it's a very popular spot for after-work beers (particularly in the beer garden during the summer). I think, were Joyce around today, he would class it as a pub for the purposes of this experiment.
I think trying to go down Harcourt St. is a mistake as it's a well-known night spot.
although it uses OSM, could you in theory overlay the route path in Google Maps just to see the StreetView for the route to see if it does pass any pubs?
Then if you did find a missing pub, you could avoid that road, or put a call out for someone on the ground to verify it's status, and location
The algorithm starts at the start nodes, and find all the
places it can go from there. It iteratively expands out the
search until it reaches the target.
I'm not sure I follow. Would you expand a bit on this? Perhaps with a code sample?
Crossing SF without encountering a pandhandler would also be brilliant. I seriously doubt there's a datastore currently available to plot something like that.
There isn't and there won't because that'd be impossible to keep track of without tagging every homeless person in the city like cattle with RFID chips.
You could have a location aware smartphone app that let you hit a button to log coordinates and a timestamp for every bum you spot. Maybe a feature add-on to Trapster?
Where I live in Norwich, England, there's a popular local expressions: "There's a church for every week of the year, and a pub for every day" (http://en.wikipedia.org/wiki/Norwich#Architecture) - it sounds like there's just over 1000 pubs in Dublin, so we're slightly outnumbered there, although Norwich does have the highest number of pubs per square mile in the UK... Pubs Per Capita anyone?
As a very quick and very dirty test yell.com gives 103 results for "pub" in "Norwich" and 101 in "St.Andrews, Fife". St.Andrews (pop 18k, I think that's when the Uni is in) is much smaller than Norwich (250k) - at most the former is 3km across and maybe 1km the other way, Norwich is roughly circular and about 10km diameter (from a quick look at Google Maps). However, yell probably just use a "within X km of the location" metric for returning results, so ...
Someone at Yell could tell you with a couple of SQL queries no doubt.
And expensive. I thought for a while about how to work around it. For example, you might open a private members club. Would that work? I always wanted to open a table tennis pub (like Dr Pongs in Berlin if anyone has been), and I figured that since it's centered around an activity, you might get away with private members club.
Really cool tho. I'd offer to go verify the route but why would I want to go and do that? Can you plot a route through town with the most pubs (maybe w/ a maximum distance constraint). I will help verify that map.
how DARE you even try and figure this out. That's like trying to figure out how to ninja-sneak through a harem of beautiful harlots and not get loved-up. why!?
For this to answer the real question it would have to work on a map from the 1920s.
There used to be far more pubs in the British Isles than there are now: in some cases 6x as many (for instance the Village of Cottenham where I used to live once had over 30, it now has 5).
Still - I like this very much.