Data

Crime data for this paper is collected from the New York City Police Department (hereafter NYPD). NYPD provides crime data in accordance with the New York State Penal Law and other New York State laws. For each rape crime,  both historical felony data and citywide complaint statistics (citywide incident level) are utilized to generate incident dataset for 2015 and 2016.
NYPD citywide crime statistics-Incident Level Data enable us to access all the complaints that NYPD has received till the most recent (which is third quarter of 2017) regarding varied levels of crimes. In order to comply consistenty with NYPD Historical Data, which only provides seven major felonies level crimes, only Rape has been extracted from Citywide Incident Level Dataset.
Due to privacy reasons, the most recent Incident Level Data no longer contains geocode information of where the incident occured, but instead includes building types. NYPD Historical Data contains all the geocode related information on incidents happened before 2015. 
Weather data is provided by Kaggle - weather 2016 in New York City Dataset. This dataset only provides monthly weather data with temperature information and  precipitation. The average temperature for the month has been utilized as temperature throughout that month for this project.