Skip to content

Instantly share code, notes, and snippets.

@prasoonsharma
Created September 15, 2010 10:46
Show Gist options
  • Save prasoonsharma/580547 to your computer and use it in GitHub Desktop.
Save prasoonsharma/580547 to your computer and use it in GitHub Desktop.
# world.cup.player.record is a pre-computed data frame of player records.
> colnames(world.cup.player.record)
"Player", "Country", "ODI.played", "Total.Batting.Runs.Scored", "Total.Balls.Faced", "Total.Fours", "Total.Sixes", "Centuries", "Fifties", "Wins.When.Scored.Fifties", "Wins.When.Scored.Centuries", "High.Score.Probability", "Total.Wickets", "Total.Bowling.Runs.Given", Total.Overs.Bowled", "Total.Maidens", "Runs.Per.Game", "High.Wicket.Probability", "Economy" , "Five.Wicket.Hauls", "Three.Wicket.Hauls", "Wins.When.Three.Wicket.Hauls", "Wins.When.Five.Wicket.Hauls"
> country.color
country.color
Country Color
1 Australia yellow
2 England pink
3 India blue
4 New Zealand purple
5 Pakistan green
6 South Africa aquamarine
7 Sri Lanka orange
8 West Indies darkred
9 Zimbabwe red
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment