Searching Stack Overflow

Rstudio has recently launched a community site and it seems to be providing a great forum already. One of the topics with over 60 contributions is Choosing between this sitre and StackOverflow for posting a question As long threads tend to do, it went off at a bit of a tangent and following a comment I made, Edward Visel produced some code for reporting on recent posts on ’tidyverse which I have generalized into a shiny app - shown below.

Read more

Share Comments

Guardian Film Reviews

From being an avid daytime moviehouse attendee. I have retreated to the occasional Netflix viewing at home. Although the ‘Because you watched’ algorithm works fairly well The Matching on Netflix does not work for me so I’d kinda like to get a rating from a reputable source maybe along with a review As I’m a Guardian reader, a recent post by Maelle Salmon on extracting data from their Experience columns gave me a nudge to do something and I have used her code as a template for my works.

Read more

Share Comments

EPL Week 7

Game of the week WBA 2 - 2 Watford These teams probably won’t feature much but Watford deservedly fought back from a two goal deficit

Widening gap in class It was generally forecast that the top-six of last season would repeat again in this campaign - though probably not in the same order. After just seven games, we are already just one diverted Joselu strike away from Liverpool joining the other top five from last year in the leading half-dozen


Read more

Share Comments

World Bank Data with data360r

NB This is a revamp of a previous post The World Bank is a great source of economic and social data. A couple of years ago, I used it to create a shiny app which still appears to work!

Earlier this year, the World Bank launched a new open data platform which collates more than 2000 indices from 40+ data sources many external to the World Bank


Read more

Share Comments

EPL Week 6

Game of the week West Ham 2-3 Tottenham The star of this week’s post, Christian Eriksen, gets involved in all three goals for Spurs

After six games, Manchester Utd. can already boast eight names on the scoresheet. In 42 games in 19934, Arsenal mustered just six

Top v Bottom Man City’s destruction of Crystal Palace ensured those two sides produced the biggest ever difference in Goals Scored after six games of a Premier League season, 21.


Read more

Share Comments

GG what!

The ggplot2 package and its extensions dominate the R visualization landscape, particularly for static charts It got me thinking about how rare was that combination of two ’g’s to start a word - at least in the English language. Luckily, there is a source on github extracted from an infochimps source Not exactly a mind-blowing exercise, but a useful way to use a few techniques from the tidyverse

Read more

Share Comments

EPL Week 5

Game of the week Watford 0-6 Manchester City Second time Man City have won by 5+ goals in consecutive games against same team. They have also done it Derby. Only achieved on two other occasions in English league top tier with WBA figuring twice: crushing local rivals, Birmingham, and suffering at the hands of Liverpool Unfortunately, no video available so you’ll have to settle for this home-made Huddesfield v Leicester game!

Read more

Share Comments

Canadian Census

A few weeks ago I did a post on the StatCan API I have since come across the new cancensus package, a wrapper function for CensusMapper API, in beta and not yet available on CRAN . These has been developed by the Vancouver team at MountainMath featuring Jens von Bergmann. His blog, Mountain Doodles is well worth a read - and, usefully, includes his twitter feed

Read more

Share Comments

Hugo Shortcodes

One of the delights of using blogdown to create blogs or websites is that it allows access to Hogo shortcodes which automatically create an HTML snippet based on the parameters you provide. You can even create your own, if you are up to it Here are a few examples for use in RMarkdown. Check out the blogdown package and Hugo documentation for more detail Youtube I tend to use the vembedr package but this is an alternative

Read more

Share Comments

EPL Week 4

Game of the week Stoke City 2-2 Manchester United United’s first real test. Still look going forward but defensive frailties may be exposed by top opposition

It must be September - Kane starts scoring The first one was a bit of a fluke but he reaches the 80 goal mark at a younger age than any who have reached that level in fewer appearances


Read more

Share Comments