get_fryzigg_stats: Return get match stats from fryziggafl.net/api/
Description
get_fryzigg_stats returns a data frame containing match stats for each game within the specified date range
Usage
get_fryzigg_stats(start = 1897, end = as.numeric(format(Sys.Date(), "%Y")))
Arguments
start
optional, character string or numeric for start year, in "YYYY"ormat
end
optional, character string or numeric for end year, in "YYYY"format
Value
a data table containing player stats for each game between start and end years
Details
This function returns a data frame containing match stats for each game within the specified date range. The data from contains all stats from the fryziggafl api and returns 1 row per player.
The date for this fucntion is called from an API with data stored in a PostgreSQL database on AWS.
Updated at the conclusion of every game. A cached version to come.