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 this repository:
- Boundary data - for Solent region (various geographies: LA, LSOA, MSOA)
- Energy - area-based statistics for domestic electricity consumption (LSOA, MSOA)
- Lookup table for geographies
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.
Resources
Openstreetmap for base maps (i.e. map tiles/rasters)
- Edinburgh green space as an example with sf
- Madrid supermarkets with sf
- Short term rentals in Halifax, Nova Scotia with sf
Google maps for base maps
They want you to have an API key now. Yeah nah.