THIS README IS FOR THE DATA/RAW_DATA/CRIME DIRECTORY.

THIS DIRECTORY CONTAINS THE RAW CRIME DATA DOWNLOADED THROUGH THE POLICE DATA INITIATIVE AS WELL AS THE R CODE TO EXTRACT THE RELEVANT CRIMES: HOMICIDE AND MOTOR VEHICLE THEFT.

THE RAW AND MANIPULATED DATA FILES ARE NOT CONTAINED WITHIN THIS ARCHIVED FOLDER BUT THE RAW DATA CAN BE ACCESSED THROUGH THE POLICE DATA INITIATIVE AS DISCUSSED IN DataAccessInformation.pdf AS WELL AS DESCRIBED IN APPENDIX F OF MY THESIS. ALSO THE MANIPULATED DATA CAN BE CREATED THROUGH THE R FILES IN THIS DIRECTORY. WHILE WE DO NOT HAVE THE FILES ARCHIVED, WE  DISCUSS THE NAMING CONVENTIONS BELOW AS THEY ARE USED WITHIN THE R SCRIPTS.

- Raw Data:
	-- LOS ANGELES: downloaded as "Crime_Data_from_2010_to_Present.csv"
	-- NEW YORK: downloaded as "NYPD_Complaint_Data_Historic.csv"
	-- PORTLAND: downloaded as "Portland_Open_Data_Sheet_data.csv"

- Code:
	*Manip_final.R: contains the R code to load and manipulate the crime data for city * in order to extract the homicide and motor vehicle theft data. Note that the code reads in the data as above, and if newer/updated versions of the data are accessed then the relevant text would need to be alterred, and the potential for column names to have changed.

- Outputs from *Manip_final.R: these outputs are also moved into the directory DATA/PROCESSED_DATA/CRIME/POINT_PATTERN
	-- *_hom.rds: this contains the crime data, locations and dates for the homicide data in city *. These have the same columns as the original data with the addition of lat and lon (where necessary) and columns for the date.
	-- *_hom_sf.rds: this contains the same data as *_hom.rds but saved as class sf.
	-- *_gta.rds: this contains the crime data, locations and dates for the motor vehicle theft data in city *. These have the same columns as the original data with the addition of lat and lon (where necessary) and columns for the date.
	-- *_gta_sf.rds: this contains the same data as *_gta.rds but saved as class sf.


