The code in which I am getting the error.
numCrimesByLSOA<-crimes %>% select(LSOA.code, LSOA.name, Crime.type) %>% group_by(LSOA.code) %>% summarise(Num.crimes=n())
Try with this as @BenBolker suggested:
#Code numCrimesByLSOA<-crimes %>% dplyr::select(LSOA.code, LSOA.name, Crime.type) %>% dplyr::group_by(LSOA.code) %>% dplyr::summarise(Num.crimes=n())
1.4m articles
1.4m replys
5 comments
57.0k users