This package provides a dataset of 14 columns and 6 rows. The aim of the functions contained in the package is to analyze the performances of italian championship's top scorers in the last six seasons.
# install the package
devtools::install_github('unimi-dse/c7e91428')
# load the package
library(ciccio)
The function getdata()
enables to have the dataset as a dataframe
getdata()
The function totalscore()
sum the values associated with the selected column and return the number of goals scored by the player in the six considered seasons.
totalscore("")
The function plotplayer()
creates a barplot that enables to visualize the different performances of the selected player in terms of score during the seasons considered in the dataset
plotplayer()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.