View source: R/getMatchDetails.R
getMatchDetails | R Documentation |
This function gets the details of a matc palyed between 2 countries from the saved RData files and returns a dataframe
getMatchDetails(team1,team2,date,dir=".")
team1 |
The 1st team in the match |
team2 |
The 2nd team in the matcj |
date |
The date on which the match was played |
dir |
The source directory of the RData files with all matches |
match The dataframe of the match
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
getTeamBattingDetails
getTeamBowlingDetails
## Not run:
# convertAllYaml2RDataframes() & convertYaml2RDataframe convert yaml files
# to data frame and store as RData
# We have to point to this directory for the call below
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../data")
# Use this to create a classification tree of deliveries to wickets
bowlerWktsPredict(jadeja1,"RA Jadeja")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.