Using This Site
This site makes it easy for people to analyze crime-related data. Select a page to look at the type of data you're interested in.
I am a PhD candidate in criminology at the University of Pennsylvania. I hold a master's degree in criminology from the University of Pennsylvania and a bachelor's degree in criminal justice from California State University, Sacramento. My research focuses on Crime Prevention Through Environmental Design (CPTED), specifically on the effect of outdoor lighting on crime.
- R for Criminology: This book introduce the programming language R and is meant for undergrads or graduate students studying criminology. R is a programming language that is well-suited to the type of work frequently done in criminology - taking messy data and turning it into useful information such as cleaning the data, graphing it, or running statistical tests on the data. While R is a useful tool for many fields of study, this book focuses on the skills criminologists should know and uses crime data for the example data sets.
- fastDummies: R package for quickly and efficiently making binary columns out of categorical columns. It also fills in "dummy rows" for data sets missing rows of data based on all combinations of categorical and date columns.
- boxoffice: R package to scrape movie data online to get daily box office results of movie ticket sales and information on top grossing movies.
- asciiSetupReader: R package for reading fixed-width ASCII files that have an.sps or .sas setup file. It also allows users to quickly generate setup files.
- caesar: R package to encrypt and decrypt strings using a simple Caesar cipher or a pseudorandom number generation.
- meditations: R package to randomly print out a quote from the book Meditations by Marcus Aurelius.
- predictrace: R package to predict the most common race of a surname based on U.S. Census data.
- My website Crime by the Numbers provides analysis of crime data as well as advice on how to work with certain crime data sets.