{"id":19840927,"url":"https://github.com/torvaney/regista","last_synced_at":"2025-05-01T19:30:48.257Z","repository":{"id":94296059,"uuid":"130919371","full_name":"Torvaney/regista","owner":"Torvaney","description":"An R package for soccer modelling","archived":false,"fork":false,"pushed_at":"2021-06-02T11:16:38.000Z","size":370,"stargazers_count":87,"open_issues_count":12,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-06T17:11:18.870Z","etag":null,"topics":["football","r","rstats","soccer","sports-analytics"],"latest_commit_sha":null,"homepage":"https://torvaney.github.io/regista/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torvaney.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-24T22:11:40.000Z","updated_at":"2025-03-14T18:10:22.000Z","dependencies_parsed_at":"2023-03-25T15:17:22.830Z","dependency_job_id":null,"html_url":"https://github.com/Torvaney/regista","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fregista","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fregista/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fregista/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fregista/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torvaney","download_url":"https://codeload.github.com/Torvaney/regista/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932589,"owners_count":21667175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["football","r","rstats","soccer","sports-analytics"],"created_at":"2024-11-12T12:28:46.146Z","updated_at":"2025-05-01T19:30:48.240Z","avatar_url":"https://github.com/Torvaney.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput:\n  github_document:\n    html_preview: false\n---\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n# regista \u003cimg src=\"man/figures/logo.png\" align=\"right\" /\u003e\n\n[![Build Status](https://travis-ci.org/Torvaney/regista.svg?branch=master)](https://travis-ci.org/Torvaney/regista)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/Torvaney/regista?branch=master\u0026svg=true)](https://ci.appveyor.com/project/Torvaney/regista)\n[![Coverage status](https://codecov.io/gh/Torvaney/regista/branch/master/graph/badge.svg)](https://codecov.io/github/Torvaney/regista?branch=master)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\n## Overview\n\nregista is a package for performing some of the common modelling tasks in soccer\nanalytics.\n\n## Installation\n\nregista is not currently available on CRAN but can be downloaded from github like so:\n\n```{r, eval = FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"torvaney/regista\")\n```\n\n## Examples\n\n### Dixon-Coles\n\nThe [\"Dixon-Coles model\"](http://web.math.ku.dk/~rolf/teaching/thesis/DixonColes.pdf) is a modified poisson model, specifically designed for estimating teams' strengths and for predicting football matches. \n\nRegista provides an implementation of this model:\n\n```{r, message = FALSE, warning = FALSE}\nlibrary(regista)\n\nfit \u003c- dixoncoles(hgoal, agoal, home, away, data = premier_league_2010)\n\nprint(fit)\n```\n\nA more flexible api is provided with `dixoncoles_ext`, which allows the base Dixon-Coles model to be extended arbitrarily.\n\n`vignette(\"using-dixon-coles\")` gives some simple examples for using the model. \nAdditionally, there are more extensive examples and analyses using regista \navailable at the following links:\n\n * [Modelling the World Cup with regista](http://www.statsandsnakeoil.com/2018/06/05/modelling-the-world-cup-with-regista/)\n * [Dixon Coles and xG: together at last](http://www.statsandsnakeoil.com/2018/06/22/dixon-coles-and-xg-together-at-last/)\n * [What a diff'rence xG makes](http://www.statsandsnakeoil.com/2018/07/15/what-a-diff-rence-xg-makes/)\n\n\nOther options\n---\n\n* The [mezzala](https://github.com/Torvaney/mezzala) package provides similar functionality for Python.\n* The [goalmodel](https://github.com/opisthokonta/goalmodel) R package contains an\nimplementation of the Dixon-Coles model, along with some additional method for\nmodelling the number of goals scored in sports games.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fregista","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorvaney%2Fregista","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fregista/lists"}