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.
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.
In addition to instructions for installation, the main Get started article has:
compstatr
and its dependencies,compstatr
,compstatr
workflow along with some basic mapping of these data.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.
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.