Skip to content

dataknut/mapping-with-r

Repository files navigation

Mapping with R

Best viewed at: https://dataknut.github.io/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 use 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.

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

Releases

No releases published

Packages

No packages published