Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/getTeamDataHomeAway.R
This function returns team data as a CSV file and/or a dataframe for Test, ODI and T20 with an additional column showing home, away or neutral venue where the match was played
1 2 | getTeamDataHomeAway(dir=".",teamView="bat",matchType="Test",file="team001HA.csv",
save=TRUE,teamName)
|
dir |
The directory where the team data CSV file be saved |
teamView |
Team view can be either 'bat' (batting team) or 'bowl' (bowling team) |
matchType |
The match type - Test, ODI , T20 |
file |
The name of te file to save to |
save |
This can be TRUE or FALSE |
teamName |
Team name is the team namely - Australia, India, England etc |
The required data frame
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://www.espncricinfo.com/ci/content/stats/index.html
https://gigadom.in/
teamWinLossStatusVsOpposition
teamWinLossStatusAtGrounds
plotTimelineofWinsLosses
1 2 3 4 5 6 | ## Not run:
#Get the team data for India for Tests
getTeamDataHomeAway(teamName="India",file="india.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.