The goal of compstatr is to provide a suite of tools for working with crime data made public by the City of St. Louis’ Metropolitan Police Department.

What’s New in v0.2.1?

Version v0.2.1 addresses a number of bugs, and returns compstatr to CRAN.

Quick Start

If the sf package is already installed, the easiest way to get compstatr is to install it from CRAN:

install.packages("compstatr")

The development version of compstatr can be accessed from GitHub with remotes:

# install.packages("remotes")
remotes::install_github("slu-openGIS/compstatr")

Additional details, including some tips for installing sf, can be found in the Get started article.

Resources

In addition to instructions for installation, the main Get started article has:

  • some tips on installing compstatr and its dependencies,
  • a quick overview of data acquisition,
  • an overview of the functions available in compstatr,
  • and a full example of the compstatr workflow along with some basic mapping of these data.

Acknowledgements

We wish to thank Taylor Braswell for his significant efforts compiling Stata code early in this project. Taylor’s code was used as a reference when developing this package, and many of the functions reflect issues that he worked to identify.

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.