The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

streetlamp: Panel Econometrics for the Effect of Police Stop and Search on Recorded Crime

Builds an area-by-month panel of recorded crime in England and Wales from the data.police.uk bulk archive <https://data.police.uk/data/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 <https://geoportal.statistics.gov.uk/>, Census 2021 population from the 'Nomis' API <https://www.nomisweb.co.uk/api/v01/help>, and notes of re-supplied and missing force data from the data.police.uk change log <https://data.police.uk/changelog/>. 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.

Version: 0.2.0
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
Published: 2026-11-06
DOI: 10.32614/CRAN.package.streetlamp (may not be active yet)
Author: Mustapha Wasseja [aut, cre], Souci Frissa [aut], Sarah Hamed [aut], Black Thrive Global [cph, fnd]
Maintainer: Mustapha Wasseja <muswaseja at gmail.com>
BugReports: https://github.com/BlackThrive/streetlamp/issues
License: MIT + file LICENSE
URL: https://github.com/BlackThrive/streetlamp, https://blackthrive.github.io/streetlamp/
NeedsCompilation: no
Language: en-GB
Citation: streetlamp citation info
Materials: README, NEWS
CRAN checks: streetlamp results

Documentation:

Reference manual: streetlamp.html , streetlamp.pdf
Vignettes: From archive to audited crime panel (source)
Displacement and spillovers (source)
Stop-crime slopes and cross-sectional dependence (source, R code)
Evaluating a stop and search surge (source)
Research validation: estimands, heterogeneity and empirical credibility (source, R code)
Simulation evidence: what each estimator recovers and when it fails (source)

Downloads:

Package source: streetlamp_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): streetlamp_0.2.0.tgz, r-oldrel (arm64): not available, r-release (x86_64): streetlamp_0.2.0.tgz, r-oldrel (x86_64): streetlamp_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=streetlamp to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.