Package: streetlamp 0.2.0
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.
Authors:
streetlamp_0.2.0.tar.gz
streetlamp_0.2.0.zip(r-4.7-any)streetlamp_0.2.0.zip(r-4.6-any)
streetlamp_0.2.0.tar.gz(r-4.7-any)streetlamp_0.2.0.tar.gz(r-4.6-any)
streetlamp_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
streetlamp/json (API)
| # Install 'streetlamp' in R: |
| install.packages('streetlamp', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/blackthrive/streetlamp/issues
Pkgdown/docs site:https://blackthrive.github.io
Last updated from:261ecb5f0b. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 213 | ||
| source / vignettes | OK | 222 | ||
| linux-release | OK | 208 | ||
| windows-devel | OK | 191 | ||
| windows-release | OK | 143 | ||
| wasm-release | OK | 141 |
Exports:lamp_adjacencylamp_adjacency_from_nblamp_allocationlamp_archive_downloadlamp_archive_indexlamp_archive_registerlamp_archive_snapshotlamp_area_lookuplamp_bank_holidayslamp_boundarieslamp_cache_clearlamp_cache_dirlamp_changeloglamp_colourslamp_contractlamp_coveragelamp_coverage_comparelamp_crime_typeslamp_crimes_preventedlamp_deprivationlamp_design_auditlamp_detect_surgeslamp_did_staggeredlamp_displacement_quotientlamp_effect_summarylamp_elasticitylamp_elasticity_robustnesslamp_event_studylamp_forceslamp_list_versionslamp_lsoa_codeslamp_lsoa_lookuplamp_lsoa_vintagelamp_maplamp_outcome_typeslamp_panellamp_placebolamp_populationlamp_pretrendslamp_read_crimelamp_read_outcomeslamp_read_stop_countslamp_reportlamp_revintagelamp_s60_legislationlamp_sample_boundarieslamp_sample_panellamp_select_versionlamp_shockslamp_simulatelamp_simulation_truthlamp_spilloverlamp_synthlamp_tablelamp_themelamp_treatmentlamp_trend_sensitivitylamp_twfelamp_version_difftidy
Dependencies:askpassBHbigmemorybigmemory.sriBMiscbootclassclassIntclicpp11curldata.tableDBIdeldirdiddigestdplyrDRDIDdreamerre1071farverfastglmfixestFormulagenericsggplot2gluegtablehttr2isobandKernSmoothlabelinglatticelifecyclemagrittrMatrixnlmenumDerivopensslpbapplypillarpkgconfigproxypurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrlangs2S7sandwichscalessfspspDataspdepstringistringmagicstringrsystibbletidyrtidyselecttrustunitsutf8uuidvctrsviridisLitewithrwkzoo
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
