Skip to content
Snippets Groups Projects
Select Git revision
  • 77a237439ffeabc83b9cbd18f8b42b334277db66
  • master default protected
2 results

mapping-with-r

Mapping with R

Simple (and not so simple) examples of mapping data with R

You might also like https://git.soton.ac.uk/twr1m15/la_emissions_viz which drives https://rushby.shinyapps.io/LAemissions/

data

The following example data is provided in the data folder of this repository:

You link these using the relevant area level codes such as:

  • Local Authority: LA Code<-> lad18cd
  • LSOA: Lower Layer Super Output Area (LSOA) Code <-> LSOA11CD
  • etc

Examples

rMappingExample

A simple example of mapping using R. Examples using Local Authority (LA) and Middle-layer Super Output Area (MSOA) geography and electricity consumption data (provided in data subfolder).

ONS-open-geography

An example and resources for using the ONS Open Geography portal to download geographical data and create maps using Leaflet package.

See the open-geog-API folder for API examples

LSOA example

What it says on the tin

Fun with cartograms

What it says on the tin

Resources

Openstreetmap for base maps (i.e. map tiles/rasters)

Google maps for base maps

They want you to have an API key now. Yeah nah.

tmap package - nice