For an assignment we are supposed to use a for-loop to obtain a dataframe of 5 consecutive months. The data regards crimes and their accompanying type of crime, location, month, street name etc.
How do we go about this issue?
We use the package 'ukpolice' and use this code to obtain data for a specific month and location of choice; data <- as.data.frame(ukc_crime_location(lat = , lng = , date = "")).
Thank you in advance!
Aucun commentaire:
Enregistrer un commentaire