Package: streetlamp
Title: Panel Econometrics for the Effect of Police Stop and Search on
Recorded Crime
Version: 0.2.0
Authors@R: c(
person("Mustapha", "Wasseja", , "muswaseja@gmail.com", role = c("aut", "cre")),
person("Souci", "Frissa", role = "aut"),
person("Sarah", "Hamed", role = "aut"),
person("Black Thrive Global", role = c("cph", "fnd"))
)
Description: Builds an area-by-month panel of recorded crime in England
and Wales from the data.police.uk bulk archive
, attaches stop and
search intensity as a treatment variable, and provides a
panel-econometrics toolkit for evaluating policing
interventions: two-way fixed effects, event studies,
difference-in-differences with staggered adoption, synthetic
control, spatial spillover and displacement models, and
stop-crime elasticities by offence type. Area boundaries are
read from the Office for National Statistics Open Geography
Portal , Census 2021
population from the 'Nomis' API
, and notes of
re-supplied and missing force data from the data.police.uk
change log . Every panel
carries a contract recording provenance, coverage, geography
vintage and treatment definition; every estimator names its
identifying assumption and ships with a placebo or pre-trend
diagnostic.
License: MIT + file LICENSE
URL: https://github.com/BlackThrive/streetlamp,
https://blackthrive.github.io/streetlamp/
BugReports: https://github.com/BlackThrive/streetlamp/issues
Depends: R (>= 4.1.0)
Imports: cli, did, digest, dplyr, fixest, generics, ggplot2 (>= 3.5.0),
grDevices, grid, httr2, rlang (>= 1.1.0), sf, spdep, stats,
tibble, tidyr, tools, utils, withr
Suggests: didimputation, httptest2, knitr, rmarkdown, spelling,
strucchange, Synth, testthat (>= 3.0.0), vdiffr
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/Needs/website: rmarkdown
Encoding: UTF-8
Language: en-GB
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-11-07 01:16:32 UTC; root
Author: Mustapha Wasseja [aut, cre], Souci Frissa [aut], Sarah Hamed
[aut], Black Thrive Global [cph, fnd]
Maintainer: Mustapha Wasseja
Repository: https://cran.r-universe.dev
Date/Publication: 2026-11-06 23:19:32 UTC
RemoteUrl: https://github.com/cran/streetlamp
RemoteRef: HEAD
RemoteSha: 261ecb5f0bded11e213c1bcf37980c8a2b6638bb