getAssists not working when no free throw assists
polete1992 opened this issue · comments
polete1992 commented
I get this message:
Error in UseMethod("group_by_") :
no applicable method for 'group_by_' applied to an object of class "NULL"
I got all the function to see what was going on and realized there were no free throws assisted for one team, which makes "ft_list" being empty and "ft_df" failing.
Sergio Olmos commented
Can you post the code you used to reproduce that error message?
polete1992 commented
pbp <- extractPbp(game_code = 190, season = 2021)
assists <- getAssists(pbp, team = "BAR")