meysubb / collegeballR

College Sports Data (R Package)
16 stars 4 forks source link

cfb team game by game returns a mapped vectors error #8

Open cbballl opened 4 years ago

cbballl commented 4 years ago

.cfb_team_game_by_game(731,2020,"MBB") Error: Mapped vectors must have consistent lengths:

meysubb commented 4 years ago

Thanks, I'll take a look at this.

meysubb commented 4 years ago

@cbballl two notes here. MBB refers to College basketball so that might be part of the problem.

Additionally, all CFB related functionality has been moved to cfbscrapR.

cbballl commented 4 years ago

I thought .cfb_team_game_by_game referred to all sports? there is no .cbb_team_game_by_game function from what I can see

meysubb commented 4 years ago

General functions that don't have the three-word abbreviation can be used for all sports (where you provide MBB etc,) because the data comes from a central API. CFB came from a different API that's why the specific function. All other sports are common functions.

What data were you trying to get?