README.md

xengagement

Lifecycle:
stable

{xengagement} is a package that predicts the amount of Twitter engagement that xGPhilosophy receives with its end-of-match xG summary tweets. The predictions are shared with automated tweets made by a bot, occasionally including some manually inserted commentary :grinning:.

Read this Twitter thread for a high-level discussion of how the package can be used to gain insights. Also, see this dashboard using outputs from this package. (Yes, that is a python-based web app :snake: using outputs from an R package :laughing:.)

Installation

You can install the development version of {xengagement} from GitHub with:

# install.packages('remotes')
remotes::install_github('tonyelhabr/xengagement')

Developer Usage

TODO

  1. Convert estimated follower counts for teams to percent ranks. (My guess is that this would slightly improve model performance.)

  2. Do a true time-based cross validation to get a better esimtate of future predictive performance.

  3. Make bot tweets more custom.



tonyelhabr/xengagement documentation built on June 22, 2022, 5 a.m.