Social Network Analysis for Crime (Analysts) Package


SNACpack is a package developed for crime analysts and criminologists conducting social network analysis (SNA).
It includes datasets and helper functions used in the Social Network Analysis course in the Master of Science in Crime Analysis program and the Statistical Analysis of Network Data (SAND) course for the Criminology and Criminal Justice, PhD. Both courses are taught in the School of Criminology and Criminal Justice at Arizona State University.


SNACpack is a companion package to the books Social Network Analysis for Crime Analysts and Social Network Analysis for Crime Analysts using R. The former is an introductory textbook for crime analysts learning SNA and the latter is a set of tutorials that show the “how to” of SNA in RStudio.


Installation

To install SNACpack from GitHub:

# install devtools (if not already installed)
install.packages( "devtools" )  

# install the package from the Github repository
devtools::install_github( "jacobtnyoung/SNACpack" )

Example Usage


# load the library for SNACpack
library( SNACpack )

SNACpack includes multiple networks for the user. The data are objects of class network, so you need to install the network package.



Now, you can look at the data objects. For example, SNACpack includes data from Mangia Natarajan’s study of a large cocaine trafficking organization in New York City. The network is directed, binary ties of communication between individuals collected from police wiretaps of telephone conversations. This network is named cocaine_dealing_net.


# examine the help page for the network
?cocaine_dealing_net

# print it out to see the features
cocaine_dealing_net



Issue Reporting

If you encounter a problem with the package or have suggestions for improvement, please submit an issue to the Github Issues page for this package. Thanks in advance!