Homepage-mob-banner_large

The Data Team @ The Data Lab

Exploring transport routes, journey characteristics and postcode networks using R Shiny

Hi all,

Recently I've finished work on a project intended to visualise the traffic flow within a subsidised transport service, operated by a Scottish council. This visualisation needed to display variations in traffic flow conditional on factors such as the time of day, day of the week, journey purpose, as well as other criteria. . . .

Read More

June 19, 2018

Running R remotely

Some options and tips

Why would you need to do this? Say, for instance, you are dealing with sensitive data that should not leave a specific system, or quite simply that you are away on a work retreat - but your laptop is far less powerful than your work desktop computer which you left behind - so you want to keep using it from a distance. For such reasons, . . .

Read More

November 24, 2017

Dealing with many dimensions in historical data

Tracking cooperation & conflict patterns over space and time in R

For this post, I've managed to find some extremely interesting historical event data offered by the Cline Center on this page. As you will see, this dataset can be quite challenging because of the sheer number of dimensions you could look at. With so many options, it becomes tricky to create visualisations with the 'right' level . . .

Read More

November 03, 2017

Data guidelines

A set of recommendations for clean and usable data

The extent to which a dataset follows a set of commonly expected guidelines will often determine how much time you have left to spend thinking about your analysis. Ideally, you might intend to spend 20% of your time cleaning the data for a project, and 80% planning and carrying out your actual analysis. But often, it might turn out to be the . . .

Read More

October 17, 2017

LA maps of crime

Using R to map criminal activity in LA since 2010

I’ve recently come across data.gov—a huge resource for open data. At the time of writing, there are close to 17,000 freely available datasets stored there, including this one offered by the LAPD. Interestingly, this dataset includes almost 1.6M records of criminal activity occurring in LA since 2010—all of them described according to a . . .

Read More

October 12, 2017

Archive