jimmyday12 / fitzRoy

A set of functions to easily access AFL data
https://jimmyday12.github.io/fitzRoy
Other
129 stars 27 forks source link

fetch_player_stats() returns figures from 1897 when no season argument in the function #175

Closed edwardhealey closed 2 years ago

edwardhealey commented 2 years ago

Hi there,

As title really. Here is some example code:

> player_stats <- fetch_player_stats(source = 'afltables')
ℹ Looking for data from 1897-01-01 to 2022-07-28
✔ fetching cached data from <github.com> ... done

The documentation suggests that not putting season there should default to 2022.

Interestingly, when I did fetch_player_stats(source = 'afltables') it just got 2022.