Pages Menu
TwitterRss
Categories Menu

Posted by on Mar 30, 2015 in R Spatial, Resources, Spatial Analysis, Visualisation | 9 comments

Mapping Flows in R

Mapping Flows in R

Last year I published the above graphic, which then got converted into the below for the book London: The Information Capital. I have had many requests for the code I used to create the plot so here it is! The data shown is the Office for National Statistics flow data. See here for the latest version. The file I used for the above can be downloaded here (it is >109 mb uncompressed so you need a decent computer to load/plot it all at once in R). You will also need this file of area (MSOA) codes and their co-ordinates. The code used is pasted below with comments above each segment. Good luck! library(plyr) library(ggplot2) library(maptools) Load the flow data required – origin and destination points are needed. See above for where you can get the table used here. input<-read.table("wu03ew_v1.csv", sep=",", header=T) We only need the first 3 columns of the above input names(input) The UK Census file above didn’t have coordinates just area codes. Here is a lookup that provides...

Read More

Posted by on Nov 6, 2014 in Resources, Spatial Analysis, Visualisation | 0 comments

DataShine Update

DataShine Update

Back in June Oliver O’Brien and I launched an interactive census map called DataShine. It has been hugely successful with a core of regular users in addition to many visitors passing who want to learn more about their area or a specific dataset. As we said back in June, the website is a work in progress so we are always looking to add new features. Two of these – local area rescaling of the colour key and data download – were launched recently at the UK Data Service‘s Census Research User Conference hosted by the Royal Statistical Society. Both are in response to people’s need to zoom in and look at particular patterns for their area without worrying about other parts of the country. Census data can also be tricky to find if you don’t know all the codes or table structures so we hope that offering simple access via the map will help users a lot. So next time you use DataShine look out for the buttons highlighted below… To learn...

Read More

Posted by on Jun 17, 2014 in Resources, Slideshow, Spatial Analysis, Visualisation | 1 comment

Welcome to DataShine!

Welcome to DataShine!

Last October I was fortunate enough to be awarded an ESRC “Future Research Leaders” grant. These run for up to 3 years and offer the opportunity for early career researchers to focus on their research interests and personal development activities. My area of interest is the analysis and visualisation of large-scale and open demographic datasets, so the project is called Big Open Data: Mining and Synthesis (BODMAS). The first output from the project is now ready and was developed with Oliver O’Brien. It’s called DataShine: Census and is a mapping platform for the key 2011 Census variables in England and Wales. Oliver has implemented a number of technical innovations to produce maps that are slick and seamlessly switch between geographies as you zoom. You can have custom colour palettes and even export high-resolution PDFs (go easy on this though, as it is hard work for the server!). For more details about the project see here. It is still a work in progress with more functionality on the way so please sign up for updates...

Read More

Posted by on Dec 9, 2013 in R Spatial, Resources, Spatial Analysis | 12 comments

Introduction to Spatial Data and ggplot2

Introduction to Spatial Data and ggplot2

For those starting out with spatial data in R, Robin Lovelace and I have prepared this tutorial (funded as part of the University of Leeds and UCL Talisman project). Here we introduce a range of analysis skills before demonstrating how you can deploy the powerful graphics capabilities of ggplot2 to visualise your results. There is also some “bonus” material at the end to show how you can use ggplot2 for descriptive statistics and so on. The tutorial covers: -Introduction to ggplot2 -Map projections -Adding Google and Stamen basemaps -Clipping and joining spatial data -Aggregating spatial data -ggplot2 for descriptive statistics Download the data you need from here. This is a work in progress so we may add improvements as time goes on. We also have a few more tutorials in the pipeline that will be posted here in due course....

Read More

Posted by on Nov 25, 2013 in Resources | 2 comments

The Ultimate Christmas List for Map Lovers

The Ultimate Christmas List for Map Lovers

It is about this time of year that I get asked if I want anything in particular for Christmas. So for others in the same position, or if you are searching for a gift for a map obsessed loved one, here is my ultimate Christmas wish list. Most of these items are things I have asked for in the past, or purchased myself, so I know they are must haves for map lovers! Accessories Starting with the last job first, this Map wrapping paper and Subway map packing tape offer the perfect way of presenting your gifts. It is worth noting, the paper is really nice quality and comes in loads of different variations.   I was given these Map Fridge Magnets last year and they make for a nice stocking filler. Prints This Population Lines print is one I have produced showing world population density. Each A2 print is produced with vegetable-based inks on 170 gsm 100% recycled Cyclus Offset paper. This is slightly off-white and does a great job of producing crisp lines and giving the print a...

Read More

Posted by on Jun 24, 2013 in London, Resources, Spatial Analysis, Video | 0 comments

Role of CyberGIS in Analysing Urban Data

Role of CyberGIS in Analysing Urban Data

This is a talk a gave in August 2012 on the use of “CyberGIS” for the analysis of urban data. CyberGIS is a term that covers the suit of tools that are being developed to use large-scale computing infrastructures for geographic data analysis. In my talk I demonstrate the ways that we at CASA have been grappling with the “big data” of cities ranging from transport to social...

Read More