Four functions The cricketdata package has been around for a few years on github, and it has been on CRAN since February 2022. There are only four functions:
fetch_cricinfo(): Fetch team data on international cricket matches provided by ESPNCricinfo. fetch_player_data(): Fetch individual player data on international cricket matches provided by ESPNCricinfo. find_player_id(): Search for the player ID on ESPNCricinfo. fetch_cricsheet(): Fetch ball-by-ball, match and player data from Cricsheet. Jacquie Tran wrote the first version of the fetch_cricsheet() function, and the vignette which demonstrates it.
Read More…
The Monash time series forecasting respository is a comprehensive collection of time series data made available in a convenient form to encourage empirical forecast evaluations. The repository includes the data from many forecasting competitions including the M1, M3, M4, NN5, tourism, and KDD cup 2018, as well as many other data sets from diverse applications. The associated paper discusses the various data sets and their characteristics. Where a time series collection contains data with different observation frequencies, they are split into different data sets so that the series within each data set has the same frequency.
Read More…
I’ve had several requests for an R function to simulate future values from a TBATS model. We will eventually include TBATS in the fable package, and the facilities will be added there. But in the meantime, if you are using the forecast package and want to simulate from a fitted TBATS model, here is how do it.
Simulating via one-step forecasts Doing it efficiently would require a more complicated approach, but this is super easy if you are willing to sacrifice some speed.
Read More…