spainfoot: Spanish football dataset

spainfootR Documentation

Spanish football dataset

Description

This data set contains the results of the teams in the Spanish football league 2008-2009.

Format

A data frame with 20 observations on 14 variables. The variables may be used to construct four latent concepts: 1) ATTACK=Attack, 2) DEFENSE=Defense, 3) SUCCESS=Success, 4) INDIS=Indiscipline.

Num Variable Description Concept
1 GSH Goals Scored Home: total number of goals scored at home ATTACK
2 GSA Goals Scored Away: total number of goals scored away ATTACK
3 SSH Success to Score Home: Percentage of matches with scores goals at home ATTACK
4 SSA Success to Score Away: Percentage of matches with scores goals away ATTACK
5 GCH Goals Conceded Home: total number of goals conceded at home DEFENSE
6 GCA Goals Conceded Away: total number of goals conceded away DEFENSE
7 CSH Clean Sheets Home: percentage of matches with no conceded goals at home DEFENSE
8 CSA Clean Sheets Away: percentage of matches with no conceded goals away DEFENSE
9 WMH Won Matches Home: total number of won matches at home SUCCESS
10 WMA Won matches Away: total number of won matches away SUCCESS
11 LWR Longest Winning Run: longest run of won matches SUCCESS
12 LRWR Longest Run Without Loss: longest run of matches without losing SUCCESS
13 YC Yellow Cards: total number of yellow cards INDIS
14 RC Red Cards: total number of red cards INDIS

Source

League Day. https://www.leagueday.com
Cero a cero. https://www.ceroacero.es/

Examples

  data(spainfoot)
  spainfoot

plspm documentation built on March 31, 2023, 11:54 p.m.