All Projects → JaseZiv → worldfootballR

JaseZiv / worldfootballR

Licence: other
A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to worldfootballR

football analytics
⚽📊 A collection of football analytics projects, data, and analysis by Edd Webster (@eddwebster), including a curated list of publicly available resources published by the football analytics community.
Stars: ✭ 405 (+115.43%)
Mutual labels:  football-data, football, soccer-data, understat, transfermarkt, fbref
cfbscrapR
A scraping and aggregating package using the CollegeFootballData API
Stars: ✭ 25 (-86.7%)
Mutual labels:  football-data, football, sports-data
sportyR
R package for drawing regulation playing surfaces for several sports
Stars: ✭ 84 (-55.32%)
Mutual labels:  football, r-package, sports-data
nflfastR
A Set of Functions to Efficiently Scrape NFL Play by Play Data
Stars: ✭ 268 (+42.55%)
Mutual labels:  cran, football-data, r-package
thinkr
Some tools for cleaning up messy 'Excel' files to be suitable for R
Stars: ✭ 21 (-88.83%)
Mutual labels:  cran, r-package
rcpptoml
Rcpp Bindings to C++ parser for TOML files
Stars: ✭ 26 (-86.17%)
Mutual labels:  cran, r-package
globals
🌐 R package: Identify Global Objects in R Expressions
Stars: ✭ 27 (-85.64%)
Mutual labels:  cran, r-package
apsimx
R package for APSIM-X
Stars: ✭ 30 (-84.04%)
Mutual labels:  cran, r-package
rcppcnpy
Rcpp bindings for NumPy files
Stars: ✭ 24 (-87.23%)
Mutual labels:  cran, r-package
ctrdata
Aggregate and analyse information on clinical trials from public registers
Stars: ✭ 26 (-86.17%)
Mutual labels:  cran, r-package
bruceR
📦 BRoadly Useful Convenient and Efficient R functions that BRing Users Concise and Elegant R data analyses.
Stars: ✭ 110 (-41.49%)
Mutual labels:  cran, r-package
vosonSML
R package for collecting social media data and creating networks for analysis.
Stars: ✭ 65 (-65.43%)
Mutual labels:  cran, r-package
vioplot
Development version of vioplot R package (CRAN maintainer)
Stars: ✭ 25 (-86.7%)
Mutual labels:  cran, r-package
inline
Inline C, C++ or Fortran functions in R
Stars: ✭ 33 (-82.45%)
Mutual labels:  cran, r-package
eia
An R package wrapping the US Energy Information Administration open data API.
Stars: ✭ 38 (-79.79%)
Mutual labels:  cran, r-package
rcppfastfloat
Rcpp Bindings for the 'fastfloat' Header-Only Library
Stars: ✭ 18 (-90.43%)
Mutual labels:  cran, r-package
rcppmsgpack
MsgPack Headers for R / msgpack.org[R]
Stars: ✭ 17 (-90.96%)
Mutual labels:  cran, r-package
understatr
fetch understat data
Stars: ✭ 72 (-61.7%)
Mutual labels:  football, understat
Football-Analytics-With-Python
A repository for football analytics
Stars: ✭ 28 (-85.11%)
Mutual labels:  football-data, football
mysportsfeeds-api
Feature requests for the MySportsFeeds Sports Data API.
Stars: ✭ 44 (-76.6%)
Mutual labels:  football-data, sports-data

worldfootballR

Version-Number R build status codecov

CRAN status CRAN downloads Downloads

Overview

This package is designed to allow users to extract various world football results and player statistics from the following popular football (soccer) data sites:

Installation

You can install the CRAN version of worldfootballR with:

install.packages("worldfootballR")

You can install the released version of worldfootballR from GitHub with:

# install.packages("devtools")
devtools::install_github("JaseZiv/worldfootballR")
library(worldfootballR)

Usage

Package vignettes have been built to help you get started with the package.

  • For functions to extract data from FBref, see here
  • For functions to extract data from Transfermarkt, see here
  • For functions to extract data from Understat, see here
  • For functions to extract data from fotmob, see here
  • For functions to extract data for international matches from FBref, see here

News

To stay up-to-date with the latest changes, see the package change log


Leagues and Seasons

Fbref

For FBref.com data (match and season data), a list of leagues and seasons included in the package can be found in the worldfootballR_data repository and can be found here

Transfermarkt

For transfermarkt.com data (valuations and transfers), a list of leagues and seasons included in the package can be found in the worldfootballR_data repository and can be found here

Understat

The following leagues are currently supported by Understat (these values can be passed in to the league arguments of most understat_ functions):

  • “EPL”
  • “La liga”
  • “Bundesliga”
  • “Serie A”
  • “Ligue 1”
  • “RFPL”

Attribute the Source

When using the functions in the package, please ensure you attribute the source of the data based on the function you use.

Data providers are listed below:

Acknowledgements

Special mention goes out to Ewan Henderson’s awesome understatr library for the inspiration and internal code for the understat_ functions contained in this package.


Contributing

Issues and Improvements

When creating an issue, please include:

  • Reproducible examples
  • A brief description of what the expected results are
  • If applicable, the fbref.com, transfermarkt.com or understat.com page the observed behaviour is occurring on
  • For improvement suggestions, what features are being requested and their purpose

Feel free to get in touch via email or twitter https://twitter.com/jaseziv if you aren’t able to create an issue.

Show your support

Follow me on Twitter (jaseziv) for updates

If this package helps you, all I ask is that you star this repo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].