## Not run:
# # Only away. Get data only for won and lost innings
# kohli <-getPlayerDataTT(253802,dir="../cricketr/data", file="kohli1.csv",
# type="batting")
#
# # Get bowling data and store in file for future
# ashwin <- getPlayerDataTT(26421,dir="../cricketr/data",file="ashwin1.csv",
# type="bowling")
# ## End(Not run)
Run the code above in your browser using DataLab