Skip to content

Instantly share code, notes, and snippets.

View bohdanszymanik's full-sized avatar

Bohdan Szymanik bohdanszymanik

  • Wellington, New Zealand
View GitHub Profile
@bohdanszymanik
bohdanszymanik / wgtn_cctv.R
Last active July 31, 2025 02:04
Analysis of the impact of public monitored cctv on wellington crime
library(tidyverse)
library(sf)
# quick aside... testing out sql querying in R - never done this before
# works well
# library(sqldf)
# VARB <- read_csv("C:\\Users\\...\\VictimisationsAgeROVBoundary.csv")
# slice <- sqldf("select * from VARB limit 10")
###################################################################
@bohdanszymanik
bohdanszymanik / wgtn_cctv_vtp.R
Created August 1, 2025 04:08
Wellington CCTV crime comparison cleaner
library(tidyverse)
library(sf)
library(tictoc)
library(future)
library(units)
#library(remotes)
#install_github("yonghah/esri2sf")
library("esri2sf")