
Talking about : Serie A Players Salaries – Part 1
[tatsu_section bg_color= « » bg_image= « » bg_repeat= « no-repeat » bg_attachment= ‘{« d »: »scroll »}’ bg_position= ‘{« d »: »top left »}’ bg_size= ‘{« d »: »cover »}’ bg_animation= « none » padding= ‘{« d »: »90px 0px 90px 0px »}’ margin= ‘{« d »: »0px 0px 0px 0px »}’ bg_video_mp4_src= « » bg_video_ogg_src= « » bg_video_webm_src= « » overlay_color= « » overlay_blend_mode= « none » section_height_type= « auto » custom_height= ‘{« d »: » »}’ vertical_align= « center » top_divider= « none » top_divider_zindex= « 9999 » bottom_divider_zindex= « 9999 » bottom_divider= « none » top_divider_height= ‘{« d »: »100″}’ top_divider_position= « above » bottom_divider_height= ‘{« d »: »100″}’ bottom_divider_position= « below » top_divider_color= « #ffffff » bottom_divider_color= « #ffffff » invert_top_divider= « 0 » invert_bottom_divider= « 0 » flip_top_divider= « 0 » flip_bottom_divider= « 0 » section_id= « » section_class= « » section_title= « » offset_value= « » full_screen_header_scheme= « background–dark » overflow= « » z_index= « 0 » hide_in= « 0 » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « » box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » key= « BJWbacMyBX »][tatsu_row full_width= « 0 » bg_color= « » border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » no_margin_bottom= « 0 » equal_height_columns= « 0 » gutter= « medium » column_spacing= « px » fullscreen_cols= « 0 » swap_cols= « 0 » padding= ‘{« d »: »0px 0px 0px 0px »}’ margin= ‘{« d »: »0px 0px »}’ row_id= « » row_class= « » box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » border_radius= « 0px » hide_in= « 0 » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » layout= « 1/1 » key= « Hyeb6qzkS7 »][tatsu_column bg_color= « » bg_image= « » bg_repeat= « no-repeat » bg_attachment= « scroll » bg_position= ‘{« d »: »top left »}’ bg_size= ‘{« d »: »cover »}’ padding= ‘{« d »: »0px 0px 0px 0px »}’ margin= ‘{« d »: » »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » box_shadow_custom= « 0px 0px 0px 0px rgba(0,0,0,0) » bg_video_mp4_src= « » bg_video_ogg_src= « » bg_video_webm_src= « » overlay_color= « » overlay_blend_mode= « none » animate_overlay= « none » link_overlay= « » vertical_align= « none » sticky= « 0 » offset= ‘{« d »: »0px 0px »}’ column_parallax= « 0 » column_width= ‘{« d »:100, »l »:100, »t »:100, »m »:100}’ column_mobile_spacing= « 0 » image_hover_effect= « none » column_hover_effect= « none » hover_box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » overflow= « » col_id= « » column_class= « » top_divider= « none » top_divider_height= ‘{« d »: »100″, »m »: »0″}’ top_divider_color= « #ffffff » flip_top_divider= « 0 » top_divider_zindex= « 9999 » bottom_divider= « none » bottom_divider_height= ‘{« d »: »100″, »m »: »0″}’ bottom_divider_color= « #ffffff » flip_bottom_divider= « 0 » bottom_divider_zindex= « 9999 » left_divider= « none » left_divider_width= ‘{« d »: »50″, »m »: »0″}’ left_divider_color= « #ffffff » invert_left_divider= « 0 » left_divider_zindex= « 9999 » right_divider= « none » right_divider_width= ‘{« d »: »50″, »m »: »0″}’ right_divider_color= « #ffffff » invert_right_divider= « 0 » right_divider_zindex= « 9999 » z_index= « 0 » hide_in= « 0 » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » layout= « 1/1 » key= « H1ZacGySQ »][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « HyWpgF8B7 »]
An Exploratory Analysis with R. On 6th September 2015, the most popular Italian newspaper dedicated to sports, “La Gazzetta dello Sport” (http://www.gazzetta.it/), has published the net annual salaries of every single Serie A player for the current season, 2015/16.
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/serieA_part1-1.jpg » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6185 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0px » lazy_load= « 1 » placeholder_bg= ‘{« id »: »palette:4″, »color »: »rgba(245,246,250,1) »}’ offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « S1UXZFLrX »][/tatsu_image][/tatsu_column][/tatsu_row][tatsu_row full_width= « 0 » bg_color= « » border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » no_margin_bottom= « 0 » equal_height_columns= « 0 » gutter= « medium » column_spacing= « px » fullscreen_cols= « 0 » swap_cols= « 0 » padding= ‘{« d »: »0px 0px 0px 0px »}’ margin= ‘{« d »: »0px 0px »}’ row_id= « » row_class= « » box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » border_radius= « 0px » hide_in= « 0 » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » layout= « 1/1 » key= « Sye6-bKLHX »][tatsu_column bg_color= « » bg_image= « » bg_repeat= « no-repeat » bg_attachment= « scroll » bg_position= ‘{« d »: »top left »}’ bg_size= ‘{« d »: »cover »}’ padding= ‘{« d »: »0px 0px 0px 0px « }’ margin= ‘{« d »: » »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » box_shadow_custom= « 0px 0px 0px 0px rgba(0,0,0,0) » bg_video_mp4_src= « » bg_video_ogg_src= « » bg_video_webm_src= « » overlay_color= « » overlay_blend_mode= « none » animate_overlay= « none » link_overlay= « » vertical_align= « none » sticky= « 0 » offset= ‘{« d »: »0px 0px »}’ column_parallax= « 0 » column_width= ‘{« d »:100, »l »:100, »t »:100, »m »:100}’ column_mobile_spacing= « 0 » image_hover_effect= « none » column_hover_effect= « none » hover_box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » overflow= « » col_id= « » column_class= « » top_divider= « none » top_divider_height= ‘{« d »: »100″, »m »: »0″}’ top_divider_color= « #ffffff » flip_top_divider= « 0 » top_divider_zindex= « 9999 » bottom_divider= « none » bottom_divider_height= ‘{« d »: »100″, »m »: »0″}’ bottom_divider_color= « #ffffff » flip_bottom_divider= « 0 » bottom_divider_zindex= « 9999 » left_divider= « none » left_divider_width= ‘{« d »: »50″, »m »: »0″}’ left_divider_color= « #ffffff » invert_left_divider= « 0 » left_divider_zindex= « 9999 » right_divider= « none » right_divider_width= ‘{« d »: »50″, »m »: »0″}’ right_divider_color= « #ffffff » invert_right_divider= « 0 » right_divider_zindex= « 9999 » z_index= « 0 » hide_in= « 0 » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » layout= « 1/1 » key= « BJabWKLHX »][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « HkiWH6IH7 »]
On 6th September 2015, the most popular Italian newspaper dedicated to sports, “La Gazzetta dello Sport” (http://www.gazzetta.it/), has published the net annual salaries of every single Serie A player for the current season, 2015/16.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″, »m »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SJ_DpRkkS »]
For all football lovers and, in particular, for the “calcio” ones, these are quite interesting numbers if we want to take a look inside the italian football top division and its clubs’ wallets.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″, »m »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SJNdT01yH »]
Few weeks ago, on “Datascience+” we found an interesting article on Data Visualization with R (https://www.r-project.org/) and the “ggplot2” package, one of the main tools in Data Science. Basically they plotted a graphic which displays the base salaries earned by the MLS players in 2015, underscoring which are the clubs who pay more and who pay less, and what weight each player’s salary has in the finances of his club.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″, »m »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « B1c_TAJ1B »]
Considering our common passion for football (…and my particular interest on the Italian league!), we took the opportunity to do something similar with Serie A players.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″, »m »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « r1XFaR1JB »]
In this first part of the article we are going to show you how we have built and consolidated our data sets.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « B1ob-C8BQ »]
Data collection
Cause we have been unable to find a proper file containing all the data we needed, we decided once again to exploit Data Science tools and, in particular, the software R. First of all, we found all players’ salaries on this article, written by Italian website “Sport Live”. Since the clubs’ salary caps published here do not match with the ones published by “La Gazzetta dello Sport” (very likely to be a calculus mistake), we collect the salary caps from this second Italian website, “Calcio News 24”. As we can check on these articles, players’ salaries were released net, whereas clubs’ salary caps gross: important points we need to keep in mind in the next steps.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SJ4KL0JyH »]
We start then to collect data from the first website, “Sport Live”.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « Symc8CkJH »]
Thanks to the “getURL()” function we load on our workspace the two web pages of this article.
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-8.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6187 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « SkcTpCyyH »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SyXGZA8S7 »]
What we need to do now is to get only the parts of these pages which contain the information we need for the analysis: players’ name, clubs and players’ salary.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « HJUx0RyyS »]
If we take a look at the article, we see that what we need from the first page starts from the line “Atalanta” and finishes just before the line “Juventus e le altre squadre a PAG 2”. In order to extract the data we need, we are going to use the “gsub()” function (for more insights, take a look at our Data Science article “Working on strings in R”).
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-1-1.png » image_varying_size_src= « » alignment= « center » border_width= « 0 » border_color= « » id= « 6188 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « B1rZ0CkJB »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « ByHSW08SX »]
In the first line of the R code above, the “gsub()” function replaces, in the string “webpage1”, all the article’s page starting from the beginning (“^”) to the line “Atalanta” with the word “Atalanta” itself. In the second command, “gsub()” removes (from the same string “webpage1”) all the article’s page starting from “Juventus e le altre squadre a PAG 2” to the end. In exactly the same way we will work on the second web page (and we will create the string “webpage2”).
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « HJsrC01Jr »]
Therefore, with the first four lines of code, we have collected all the information in just two strings:
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-2-1.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6189 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « B1oUR0k1S »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SkW6WC8S7 »]
As we see, we can still remove something from them: the HTML elements to bold a character (“”) and to produce a line break in text (“
”). Again, thanks to “gsub()”, we remove all of them and we combine, with “paste()”, “webpage1” and “webpage2” in one single string, “webpage”.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SylK0Rk1S »]
Now that we have selected only the parts of the article necessary for our analysis, we are going to separate the information of each specific team from the others, in order to have 20 different strings (20 teams): we are going to include them in the “playerList” vector.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « BJqFCA11S »]
However, before doing this, we must define the teams’ name: this will help us identify all the information concerning a specific team, and separate them from the information concerning others teams. So we simply create a string vector, “teams”, made by the teams’ name as they are written in the articles.
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-3-1.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6190 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « rJ7s0AJyS »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « Sy6vAaJJB »]
Then, we can build the “playerList” vector:
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-4-1.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6191 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « ry4QvAkkr »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″, »m »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « Hkklkkx1H »]
This vector will look something like this:
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-5-1.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6192 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « SJFRRAJ1S »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « ryCOAa1yS »]
We are almost there. Next step is to separate the players’ names from the players’ salaries. From the “playerList” vector we are going to build other two character vectors: “allplayers”, which will contain the players’ names, and “allvalues”, which will hold all the players’ salaries. To do this, we will make use again of the “gsub()” function.
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-6-1.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6193 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « rJuz1yg1H »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « BkQYDRkyH »]
In the code above we worked on players’ names. With “gsub(« ^.*?) », « », playerList[i])” we remove all characters (from each string element of the “playerList” vector) before the first player’s name appears (basically we remove the team’s names and the club’s cap salaries, parenthesis included). In particular, the “?” allows us to make the replacement (here, removal) only for the first time the function finds the match, so just for the first “)”.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « SJUHyJxyS »]
After having removed all the salaries (i.e. values between parenthesis placed just after each player’s name), replaced the HTML encoding of foreign characters with their respective letters (“à » with « à », « ò » with « ò », « é » with « é » and « è » with « è”) and replaced the double comma with a single one, thanks to the function “strsplit()” we split the players’ names in different strings, using the comma as separator (take a look at our article “Working on strings in R” if you want to know more about this function). In this way, our vector containing all players’ names is ready.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « r1pSJyl1S »]
In the code we have just run, we can see another vector we have not explained yet: the “playersNumber”. This lets us know how many players each team has (at least in this article). To make it, we have basically counted how many players’ names were contained in each string of the “playerList” vector, thanks to the loop we have just seen.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « B1D8y1lJB »]
Having done this, we can build the second vector we were talking about: the “allvalues”.
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-8-1.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6194 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « Sym5PRJkB »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « ByW5R6kJr »]
Here we introduce two other functions: “gregexpr()” and “regmatches()”. The first one lets us find the matches, that is in which positions of the string “text” are placed the players’ salaries (i.e. the values between parenthesis, “pattern”, parenthesis included). With the “regmatches()” function, instead, we will extract from “x” the elements which are in the positions found in “m” (that we have just done thanks to the “gregexpr()” function).
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « BJd6PR1kB »]
And it’s a done deal! We can finally build our first data set, “salary”: the data set containing players’ names, the clubs where they play, and their net annual salaries (in millions of euros).
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-9.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6195 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « BJBRvRJyH »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « S1hCCakJS »]
This data set will then look like this:
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-10.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6196 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « ByajJyeJB »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « Hyq-OCyJS »]
The second (and last) data set we are going to build is the one containing all teams’ annual salary caps (in millions of euros). As we said, we are going to collect these from the second website, “Calcio News 24”, and we will adopt the same techniques we have seen until now.
[/tatsu_inline_text][tatsu_image image= « http://dev.10h11.xyz/wp-content/uploads/2019/06/pasted-image-0-11.png » image_varying_size_src= « » alignment= « none » border_width= « 0 » border_color= « » id= « 6197 » size= « full » adaptive_image= « 0 » max_width= ‘{« d »: »100% »}’ rebel= « 0 » width= ‘{« d »: »100% »}’ shadow= « none » custom_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » drop_shadow= « drop-shadow(0px 0px 0px rgba(0,0,0,0)) » border_radius= « 0 » lazy_load= « 1 » placeholder_bg= « » offset= ‘{« d »: »0px 0px »}’ lightbox= « 0 » link= « » new_tab= « 0 » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » padding= ‘{« d »: » »}’ margin= ‘{« d »: » »}’ key= « Sy71xyx1r »][/tatsu_image][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « Bkd7_01yB »]
At this point, we will have finally collected and consolidated our data.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « H1cxl1gyB »]
Before moving to the next part, as we have already mentioned, it is very important to keep in mind that all players’ salaries collected are net (data set “salary”), whereas clubs’ salary caps are gross (data set “salaryCaps”): therefore, we will not work on them together.
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 50px 0px « }’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « BJSblyl1S »]
In the next part of this article we will make some interesting exploratory analyses and, in particular, some nice graph!
[/tatsu_inline_text][tatsu_inline_text max_width= ‘{« d »: »100″, »m »: »100″}’ wrap_alignment= « center » text_alignment= ‘{« d »: »left »}’ margin= ‘{« d »: »0px 0px 30px 0px »}’ bg_color= « » typography= ‘{« d »: » »}’ box_shadow= « 0px 0px 0px 0px rgba(0,0,0,0) » padding= ‘{« d »: »0px 0px 0px 0px »}’ border_style= ‘{« d »: »solid », »l »: »solid », »t »: »solid », »m »: »solid »}’ border= ‘{« d »: »0px 0px 0px 0px »}’ border_color= « » border_radius= « 0px » hide_in= « » css_id= « » css_classes= « » animate= « 1 » animation_type= « none » animation_delay= « 0 » animation_duration= « 300 » key= « B1K-cCJ1H »]
References:
- Calcio News 24. “Confronto classifica/monte ingaggi: boom toscane, flop Juve e Bologna” (2015) – http://www.calcionews24.com/serie-a-confronto-classifica-monte-ingaggi-boom-toscane-flop-juve-e-bologna-467487.html
- Kodali, Teja. “Visualizing MLS Player Salaries with ggplot2” (2015) – http://datascienceplus.com/visualizing-mls-player-salaries/
- La Gazzetta dello Sport. “Tutti gli ingaggi della Serie A: Juve leader, Milan oltre i 100, Inter +24” (2015) – http://www.gazzetta.it/Calciomercato/storie/07-09-2015/tutti-ingaggi-serie-a-juve-leader-milan-oltre-100-inter-24/
- Sportlive.it. “Stipendi Serie A: ingaggi calciatori 2015/2016” (2015) – http://www.sportlive.it/calcio/stipendi-serie-a-ingaggi-calciatori-squadre-2015-2016.html
[/tatsu_inline_text][/tatsu_column][/tatsu_row][/tatsu_section]