Skip to content

Instantly share code, notes, and snippets.

View mpjashby's full-sized avatar

Matt Ashby mpjashby

View GitHub Profile
library(imguR)
library(sf)
library(tidyverse)
boroughs <- read_sf("https://data.london.gov.uk/download/london_boroughs/9502cdec-5df0-46e3-8aa1-2b5c5233a31f/London_Boroughs.gpkg") |>
mutate(
bcu = case_match(
name,
c("Hackney", "Tower Hamlets") ~ "Central East",
c("Camden", "Islington") ~ "Central North",
month_beginning DriversKilled drivers front rear kms PetrolPrice VanKilled law
1969-01-01 107 1687 867 269 9059 0.102971811805368 12 0
1969-02-01 97 1508 825 265 7685 0.102362995884646 6 0
1969-03-01 102 1507 806 319 9963 0.102062490635914 12 0
---
title: "Example of SpatialKDE progress bar"
format: html
---
```{r setup, include=FALSE}
library(sf)
library(SpatialKDE)
```