I want to filter a column of a list, when I do it though it says the column object is not found.
> library(dbplyr)
> college_sum = nba_stats_net$aggregate('[{"$group":{"_id":"$College","Sum":{"$sum":1} ,"Overall": {"$avg":"$Overall"}}}]')
> final_thing = college_sum%>% filter(Sum>5)
It gives me this error
Error in filter(., Sum > 5) : object 'Sum' not found
This is the original list.
**
**
Thanks for any help