World_cup#

Results from the FIFA 2014 Men’s World Cup and the FIFA 2015 Women’s World Cup finals.

undefined

Initialization#

library(fosdata)
data <- fosdata::world_cup

Accessing fields#

data <- fosdata::world_cup
notes <- data$notes # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::world_cup dataset containing the following fields:

fields[8]{name,type,values}:
  team_1,character,n/a
  score_1,integer,n/a
  team_2,character,n/a
  score_2,numeric,n/a
  game,character,n/a
  date,character,n/a
  notes,character,n/a
  competition,character,[2014 FIFA Men's World Cup,2015 FIFA Women's World Cup]

Fields#

Name Description Type Min Max Values
team_1 Winning team character - - -
score_1 Number of goals for winning team integer - 10 -
team_2 Losing team character - - -
score_2 Number of goals for losing team numeric - 3 -
game Description of when the game took place. Group Stage and Group [A-F] are equivalent level games character - - -
date Date of game character - - -
notes Notes on game, such as overtime or penalties character - - -
competition One of 2014 FIFA Men’s World Cup or 2015 FIFA Women’s World Cup character - - 2014 FIFA Men's World Cup, 2015 FIFA Women's World Cup

Source#

https://abcnews.go.com/Sports/2014-fifa-world-cup-tv-schedule-results/story?id=23748377 and https://abcnews.go.com/Sports/2015-fifa-womens-world-cup-complete-tournament-results/story?id=31204768