Page 1 of 1

470 We then overlap the aggregated crimes data with the temp data set we created to get our final 471 modeling data set

Posted: Sat May 14, 2022 4:38 pm
by answerhappygod
470 We Then Overlap The Aggregated Crimes Data With The Temp Data Set We Created To Get Our Final 471 Modeling Data Set 1
470 We Then Overlap The Aggregated Crimes Data With The Temp Data Set We Created To Get Our Final 471 Modeling Data Set 1 (16.99 KiB) Viewed 31 times
How do i fix the error in this code
470 We then overlap the aggregated crimes data with the temp data set we created to get our final 471 modeling data set 472 473-***{r} 474 # Overlap base data and crime_agg data 475 # For beat-date combinations missing in incident data, we will get NAS 476 (mode 1_data <- temp%>% 477 left_join(model_data, keep=TRUE)) 478 Error in 'left_join(': ! 'by must be supplied when 'x' and 'y have no common variables. i use by = character O'to perform a cross-join. Backtrace: 1. temp %>% left_join(model_data, keep = TRUE) 3. dplyr: ::left_join.data.frame C, mode 1_data, keep = TRUE) Error in left_joinc, model_data, keep = TRUE) : i use by = character to perform a cross-join.