ffverse / ffpros

Retrieves data from FantasyPros.com
http://ffpros.ffverse.com
Other
9 stars 2 forks source link

Kicker and DST Projections Fail to Parse #2

Closed patstout closed 2 years ago

patstout commented 2 years ago

Getting fp_projections() for the kickers (k) or team defense (dst) fails with a 'can't recycle error

Both of these fail:

projections <- ffpros::fp_projections( "dst" )
projections <- ffpros::fp_projections( "k" )

dst fails with: Error: Can't recycle ..1 (size 6) to match ..2 (size 8).

k fails with: Error: Can't recycle ..1 (size 7) to match ..2 (size 9).

My guess is it is having trouble with the slightly different table format between K/DST and standard players. The extra header row is missing.

Normal player: image Kicker: image

tanho63 commented 2 years ago

Hmm, thanks for reporting! Not sure when I'll get to this, unfortunately, but I'll add it to my backlog