Posts by Tags

API

Downloading UK property prices from Zoopla in R

less than 1 minute read

Published:

Zoopla offers limited access to its API , which serves up the latest property prices and area indices. I wrote an R package for querying it — see the GitHub documentation or zooplaR’s page for the latest. Read more

Postcode and Geolocation API for the UK

2 minute read

Published:

When I work with UK geographical data, I often need to extract geolocation information for postcodes. A handy way to do this in R is the geocode function from the ggmap package, which returns latitude and longitude via the Google... Read more

Batch

CLI

CRAN

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

F0

Geocoding

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

Jupyter

Using MATLAB in Jupyter notebooks on Windows

2 minute read

Published:

After a while of using R notebooks, I found working with MATLAB in its IDE really unintuitive. I’d read that you can run MATLAB from IPython, but the instructions seemed a bit dated, and following them still didn’t get MATLAB... Read more

Kaggle

My first Kaggle competition

less than 1 minute read

Published:

Last month I entered my first Kaggle competition , working with BNP Paribas Cardif’s data. The official aim was to speed up the claims management process; my own goal was simply to put some machine learning techniques into practice. That... Read more

Center for World University Rankings - Kaggle dataset

less than 1 minute read

Published:

Kaggle publishes plenty of interesting datasets, and one of them brings together several world university rankings . I thought I’d run a quick analysis of the CWUR data and map it in R with the rworldmap package. Read more

Leaflet

Linux

MATLAB

Using MATLAB in Jupyter notebooks on Windows

2 minute read

Published:

After a while of using R notebooks, I found working with MATLAB in its IDE really unintuitive. I’d read that you can run MATLAB from IPython, but the instructions seemed a bit dated, and following them still didn’t get MATLAB... Read more

Map

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

Geofacet Polski - wykresy w miejscu województw

less than 1 minute read

Published:

Niedawno odnalazłem ciekawy pakiet geofacet , który umożliwia rozmieszczenie wykresów zgodnie z ich pozycją na mapie. Główna funkcja facet_geo() zastępuje facet_wrap() z ggplot2. Polska mapa jeszcze nie jest dostępna w standardowym pakiecie geofacet, ale mam nadzieję, że już wkrótce tam... Read more

Postcode and Geolocation API for the UK

2 minute read

Published:

When I work with UK geographical data, I often need to extract geolocation information for postcodes. A handy way to do this in R is the geocode function from the ggmap package, which returns latitude and longitude via the Google... Read more

Brexit referendum and the housing market

1 minute read

Published:

One of my recent tasks at work was to analyse the Brexit referendum results alongside the UK housing market.Happily, everything except the rental data (which came from Zoopla) was publicly available. The property and rental prices took some wrangling, because... Read more

Pupils by first language in London boroughs (2015)

less than 1 minute read

Published:

A while ago I discovered the London Datastore , a government data repository with a wide range of interesting datasets. One that caught my eye breaks down England’s school population by first language. As a non-native English speaker myself, I... Read more

Residential property sales in England and Wales

less than 1 minute read

Published:

One of my work projects that gained a lot of publicity was an analysis of residential property sales in England and Wales. The underlying data is collected by the Land Registry and is publicly available. Read more

Center for World University Rankings - Kaggle dataset

less than 1 minute read

Published:

Kaggle publishes plenty of interesting datasets, and one of them brings together several world university rankings . I thought I’d run a quick analysis of the CWUR data and map it in R with the rworldmap package. Read more

The Migrants’ Files - Counting the dead

less than 1 minute read

Published:

I recently came across an interesting data journalism project called The Migrants’ Files , which collects and analyses information about migration. The data on dead and missing would-be migrants was publicly available, so I built a dashboard in Tableau using... Read more

Higher Education Salaries in the UK

less than 1 minute read

Published:

Times Higher Education published its 2015 pay survey back in April, but I’ve only just found time to turn the data into some interactive visualisations. Read more

Speech SENCOs in England

less than 1 minute read

Published:

The Department for Education regularly publishes a list of educational establishments in England and Wales. I wanted to see which areas have the most schools with Speech Special Educational Needs Coordinators (SENCOs), and what those schools look like. To find... Read more

Mapa Polski

Geofacet Polski - wykresy w miejscu województw

less than 1 minute read

Published:

Niedawno odnalazłem ciekawy pakiet geofacet , który umożliwia rozmieszczenie wykresów zgodnie z ich pozycją na mapie. Główna funkcja facet_geo() zastępuje facet_wrap() z ggplot2. Polska mapa jeszcze nie jest dostępna w standardowym pakiecie geofacet, ale mam nadzieję, że już wkrótce tam... Read more

PostcodesioR

Postcode and Geolocation API for the UK

2 minute read

Published:

When I work with UK geographical data, I often need to extract geolocation information for postcodes. A handy way to do this in R is the geocode function from the ggmap package, which returns latitude and longitude via the Google... Read more

Powiaty

Praat

Python

Sending serial triggers from PsychoPy to ETG-4000 fNIRS

2 minute read

Published:

While designing my latest experiment in PsychoPy , I realised that setting up the serial port connection is far from obvious. I wrote this tutorial so that others — and future me — don’t have to waste time reinventing the... Read more

Quandl

R

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

Book Review - Sound Analysis and Synthesis with R

1 minute read

Published:

R might not be the most obvious choice for analysing audio data, but a growing number of packages now make it possible to analyse and synthesise sound. One of them is seewave, and Jérôme Sueur , one of its authors,... Read more

Spectrograms in R - a gallery

1 minute read

Published:

Creating a spectrogram is a basic step in almost any analysis of audio signals — it shows how the frequencies in a sound change over time. Happily, R has a good few packages for the job, and here I’ll run... Read more

Geofacet Polski - wykresy w miejscu województw

less than 1 minute read

Published:

Niedawno odnalazłem ciekawy pakiet geofacet , który umożliwia rozmieszczenie wykresów zgodnie z ich pozycją na mapie. Główna funkcja facet_geo() zastępuje facet_wrap() z ggplot2. Polska mapa jeszcze nie jest dostępna w standardowym pakiecie geofacet, ale mam nadzieję, że już wkrótce tam... Read more

Downloading UK property prices from Zoopla in R

less than 1 minute read

Published:

Zoopla offers limited access to its API , which serves up the latest property prices and area indices. I wrote an R package for querying it — see the GitHub documentation or zooplaR’s page for the latest. Read more

Interactive plot of fNIRS data

less than 1 minute read

Published:

The quickest way to plot ETG-4000 data in R is plot_ETG4000() from the fnirsr package. But if you want to explore your data in more detail, an interactive plot works better. Read more

fnirsr - Fixing bugs, Travis CI, and detrending

less than 1 minute read

Published:

I hadn’t touched fnirsr (my R package for analysing fNIRS data) in a while, so I decided it was time for some improvements. I read a great introduction to Travis CI and was determined to get it working this time.... Read more

fnirsr - An R package to analyse ETG-4000 fNIRS data

1 minute read

Published:

As I mentioned in my previous post , I’m getting to grips with analysing fNIRS data collected on a Hitachi ETG-4000. A recording session can be saved as a raw CSV file (here’s an example ), and it’s fairly straightforward... Read more

Loading and plotting nirs data in R

1 minute read

Published:

I’ve recently been learning to use the Hitachi ETG-4000 for functional near-infrared spectroscopy (fNIRS) in my research. I quickly discovered that, as so often in neuroscience, the main analysis packages are written in MATLAB. I couldn’t find any R code... Read more

Postcode and Geolocation API for the UK

2 minute read

Published:

When I work with UK geographical data, I often need to extract geolocation information for postcodes. A handy way to do this in R is the geocode function from the ggmap package, which returns latitude and longitude via the Google... Read more

Center for World University Rankings - Kaggle dataset

less than 1 minute read

Published:

Kaggle publishes plenty of interesting datasets, and one of them brings together several world university rankings . I thought I’d run a quick analysis of the CWUR data and map it in R with the rworldmap package. Read more

Polling data for 2015 Polish parliamentary election

1 minute read

Published:

I’m back to analysing political data, having found a nicely formatted dataset on one of my favourite blogs . The post that got me started asked whether you can predict election results from polls and online popularity data. The short... Read more

Using R to query Google Trends and Ngrams

1 minute read

Published:

Lately I’ve been toying with the idea of comparing how popular different people and ideas are. I’ve already queried Wikipedia page views in R, but I wondered whether I could do something similar with Google Trends or Google Ngrams .... Read more

Butterworth Filter Demo in Shiny

less than 1 minute read

Published:

I use EEGLAB to process my electroencephalographic data (that is, the brain’s electrical activity), but I wanted an interactive visualisation to show how different filter settings change the signal. I prefer R to MATLAB, so I built a Shiny app... Read more

Foreign crime victims in Poland

1 minute read

Published:

I recently read an article (in Polish) about the Polish police massaging their statistics. It made me wonder what data they publish on their website, and whether any interesting patterns might turn up. Read more

R-bloggers

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

Book Review - Sound Analysis and Synthesis with R

1 minute read

Published:

R might not be the most obvious choice for analysing audio data, but a growing number of packages now make it possible to analyse and synthesise sound. One of them is seewave, and Jérôme Sueur , one of its authors,... Read more

Spectrograms in R - a gallery

1 minute read

Published:

Creating a spectrogram is a basic step in almost any analysis of audio signals — it shows how the frequencies in a sound change over time. Happily, R has a good few packages for the job, and here I’ll run... Read more

Downloading UK property prices from Zoopla in R

less than 1 minute read

Published:

Zoopla offers limited access to its API , which serves up the latest property prices and area indices. I wrote an R package for querying it — see the GitHub documentation or zooplaR’s page for the latest. Read more

Butterworth Filter Demo in Shiny

less than 1 minute read

Published:

I use EEGLAB to process my electroencephalographic data (that is, the brain’s electrical activity), but I wanted an interactive visualisation to show how different filter settings change the signal. I prefer R to MATLAB, so I built a Shiny app... Read more

Shiny

Butterworth Filter Demo in Shiny

less than 1 minute read

Published:

I use EEGLAB to process my electroencephalographic data (that is, the brain’s electrical activity), but I wanted an interactive visualisation to show how different filter settings change the signal. I prefer R to MATLAB, so I built a Shiny app... Read more

Tableau

Brexit referendum and the housing market

1 minute read

Published:

One of my recent tasks at work was to analyse the Brexit referendum results alongside the UK housing market.Happily, everything except the rental data (which came from Zoopla) was publicly available. The property and rental prices took some wrangling, because... Read more

Residential property sales in England and Wales

less than 1 minute read

Published:

One of my work projects that gained a lot of publicity was an analysis of residential property sales in England and Wales. The underlying data is collected by the Land Registry and is publicly available. Read more

The Migrants’ Files - Counting the dead

less than 1 minute read

Published:

I recently came across an interesting data journalism project called The Migrants’ Files , which collects and analyses information about migration. The data on dead and missing would-be migrants was publicly available, so I built a dashboard in Tableau using... Read more

Article Processing Charges paid by UCL (2013-2014)

less than 1 minute read

Published:

I found an interesting dataset on Figshare showing how much University College London spent on Article Processing Charges (APCs). Its description says it should cover 1 April 2013 to 31 July 2014, but a few entries fall outside that window,... Read more

Research Councils UK Diversity Data

less than 1 minute read

Published:

I recently came across a dataset published by Research Councils UK (RCUK) on the diversity of grant applicants. The report didn’t include a single plot, so I thought I’d fix that. Annoyingly, it was only available as a PDF, which... Read more

Higher Education Salaries in the UK

less than 1 minute read

Published:

Times Higher Education published its 2015 pay survey back in April, but I’ve only just found time to turn the data into some interactive visualisations. Read more

Speech SENCOs in England

less than 1 minute read

Published:

The Department for Education regularly publishes a list of educational establishments in England and Wales. I wanted to see which areas have the most schools with Speech Special Educational Needs Coordinators (SENCOs), and what those schools look like. To find... Read more

Foreign crime victims in Poland

1 minute read

Published:

I recently read an article (in Polish) about the Polish police massaging their statistics. It made me wonder what data they publish on their website, and whether any interesting patterns might turn up. Read more

Scientific Retractions

less than 1 minute read

Published:

After reading the paper by Steen et al. (2013) , I decided to have a play with the data published alongside it. Such an interesting topic deserved interactive plots, so I built some in Tableau. Read more

Time series

Removing triggers from Hitachi ETG-4000 fNIRS recordings

5 minute read

Published:

HOMER2 expects a particular .nirs format that can’t contain consecutive triggers (also called Marks in Hitachi files). The hitachi2nirs MATLAB script does strip the markers, but I wanted to recreate the whole process myself and be sure I was doing... Read more

UK

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

UK house prices

Downloading UK property prices from Zoopla in R

less than 1 minute read

Published:

Zoopla offers limited access to its API , which serves up the latest property prices and area indices. I wrote an R package for querying it — see the GitHub documentation or zooplaR’s page for the latest. Read more

Web scraping

Zoopla

Downloading UK property prices from Zoopla in R

less than 1 minute read

Published:

Zoopla offers limited access to its API , which serves up the latest property prices and area indices. I wrote an R package for querying it — see the GitHub documentation or zooplaR’s page for the latest. Read more

aubio

audio

Book Review - Sound Analysis and Synthesis with R

1 minute read

Published:

R might not be the most obvious choice for analysing audio data, but a growing number of packages now make it possible to analyse and synthesise sound. One of them is seewave, and Jérôme Sueur , one of its authors,... Read more

Spectrograms in R - a gallery

1 minute read

Published:

Creating a spectrogram is a basic step in almost any analysis of audio signals — it shows how the frequencies in a sound change over time. Happily, R has a good few packages for the job, and here I’ll run... Read more

bcs

business-analysis

cheatsheet

chunk

fNIRS

Removing triggers from Hitachi ETG-4000 fNIRS recordings

5 minute read

Published:

HOMER2 expects a particular .nirs format that can’t contain consecutive triggers (also called Marks in Hitachi files). The hitachi2nirs MATLAB script does strip the markers, but I wanted to recreate the whole process myself and be sure I was doing... Read more

Interactive plot of fNIRS data

less than 1 minute read

Published:

The quickest way to plot ETG-4000 data in R is plot_ETG4000() from the fnirsr package. But if you want to explore your data in more detail, an interactive plot works better. Read more

fnirsr - Fixing bugs, Travis CI, and detrending

less than 1 minute read

Published:

I hadn’t touched fnirsr (my R package for analysing fNIRS data) in a while, so I decided it was time for some improvements. I read a great introduction to Travis CI and was determined to get it working this time.... Read more

Sending serial triggers from PsychoPy to ETG-4000 fNIRS

2 minute read

Published:

While designing my latest experiment in PsychoPy , I realised that setting up the serial port connection is far from obvious. I wrote this tutorial so that others — and future me — don’t have to waste time reinventing the... Read more

Loading and plotting nirs data in R

1 minute read

Published:

I’ve recently been learning to use the Hitachi ETG-4000 for functional near-infrared spectroscopy (fNIRS) in my research. I quickly discovered that, as so often in neuroscience, the main analysis packages are written in MATLAB. I couldn’t find any R code... Read more

geospatial

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

pitch

proptech

Downloading UK property prices from Zoopla in R

less than 1 minute read

Published:

Zoopla offers limited access to its API , which serves up the latest property prices and area indices. I wrote an R package for querying it — see the GitHub documentation or zooplaR’s page for the latest. Read more

ropensci

PostcodesioR 0.1.1 is on CRAN

5 minute read

Published:

Introduction The latest stable version of my UK geocoder package has finally made it to CRAN . PostcodesioR is a wrapper for postcodes.io and it provides multiple functions to work with UK geospatial data. The package draws exclusively on open... Read more

segmentation

slicing

sound

Book Review - Sound Analysis and Synthesis with R

1 minute read

Published:

R might not be the most obvious choice for analysing audio data, but a growing number of packages now make it possible to analyse and synthesise sound. One of them is seewave, and Jérôme Sueur , one of its authors,... Read more

spectrogram

Spectrograms in R - a gallery

1 minute read

Published:

Creating a spectrogram is a basic step in almost any analysis of audio signals — it shows how the frequencies in a sound change over time. Happily, R has a good few packages for the job, and here I’ll run... Read more

speech

Book Review - Sound Analysis and Synthesis with R

1 minute read

Published:

R might not be the most obvious choice for analysing audio data, but a growing number of packages now make it possible to analyse and synthesise sound. One of them is seewave, and Jérôme Sueur , one of its authors,... Read more

Spectrograms in R - a gallery

1 minute read

Published:

Creating a spectrogram is a basic step in almost any analysis of audio signals — it shows how the frequencies in a sound change over time. Happily, R has a good few packages for the job, and here I’ll run... Read more

syllabus

synthesis

Book Review - Sound Analysis and Synthesis with R

1 minute read

Published:

R might not be the most obvious choice for analysing audio data, but a growing number of packages now make it possible to analyse and synthesise sound. One of them is seewave, and Jérôme Sueur , one of its authors,... Read more

test-prep

tone