Publications by Adventures in Data

Does weather cause accidents – part 1

26.03.2016

Blending weather data Scotland and other parts of the UK have some nicely curated open data on road traffic accidents. For individual cases, where and when they happened, how severe they were, the prevailing road conditions, which emergency services were involved and so on. It felt to me like this should be a very valuable resource and might help...

3744 sym R (915 sym/7 pcs)

Does weather cause accidents – part 1

26.03.2016

Blending weather data Scotland and other parts of the UK have some nicely curated open data on road traffic accidents. For individual cases, where and when they happened, how severe they were, the prevailing road conditions, which emergency services were involved and so on. It felt to me like this should be a very valuable resource and might help...

3744 sym R (914 sym/7 pcs)

Does weather cause accidents – part 2

11.04.2016

In part 1 I showed how to grab data from the forecast.io, now that we have all of that I want to use it to investigate the effects of weather on accidents. First, I realised after playing around a little that one possible way of doing this was as follows; In part 1 we grabbed weather data associated with each accident (time and location). But to ...

3761 sym R (1321 sym/6 pcs) 2 img

Does weather cause accidents – part 2

11.04.2016

In part 1 I showed how to grab data from the forecast.io, now that we have all of that I want to use it to investigate the effects of weather on accidents. First, I realised after playing around a little that one possible way of doing this was as follows; In part 1 we grabbed weather data associated with each accident (time and location). But to ...

3761 sym R (1321 sym/6 pcs) 2 img

Noob package development: job ads data in R with Adzuna

07.06.2016

Part of our mission at The Data Lab is to create jobs in Data Science. This got us thinking that perhaps we should find a systematic way of quantifying the job market in Scotland and generally. We stumbled upon Adzuna, never heard of it? It’s quite cool, looks and feels like a jobs board but is actually a very data enabled service. For example ...

3930 sym R (1752 sym/7 pcs)

Noob package development: job ads data in R with Adzuna

07.06.2016

Part of our mission at The Data Lab is to create jobs in Data Science. This got us thinking that perhaps we should find a systematic way of quantifying the job market in Scotland and generally. We stumbled upon Adzuna, never heard of it? It’s quite cool, looks and feels like a jobs board but is actually a very data enabled service....

3980 sym R (1804 sym/7 pcs)

Noob package development: job ads data in R with Adzuna

05.08.2016

Part of our mission at The Data Lab is to create jobs in Data Science. This got us thinking that perhaps we should find a systematic way of quantifying the job market in Scotland and generally. We stumbled upon Adzuna, never heard of it? It’s quite cool, looks and feels like a jobs board but is actually a very data enabled service. For example ...

3930 sym R (1752 sym/7 pcs)

Keith Matthews Exam Question…

14.12.2016

Help? I set an exam question with 10 boxes to be filled from 13 possible answers. If randomly completed, what should be the average mark? – @KeithRMatthews, 12:13 PM – 15 Dec 2016 library(ggplot2) answers <- letters[1:10] options <- letters[1:13] functions to give random answers and mark them giveAnswers <- function(options) sample(options,...

675 sym R (451 sym/8 pcs) 2 img

R + D3, A powerful and beautiful combo

15.03.2017

For a while now, I have been looking for ways to incorporate pretty D3 graphics into R markdown reports or shiny apps. Why? I like R for the ability to be able to do data handling, stats, ML all very easily with minimal code. But when you want to present something to clients or the public, there is no competition for the front end web stuff e.g. ...

2868 sym