Club Elo
February 18, 2025
Matlab Code: club0 = {‘barcelona’ ‘bayern’ ‘realmadrid’ ‘manunited’ ‘liverpool’,‘mancity’,‘inter’,‘juventus’}; ll = {‘Barcelona’,‘Bayern’,‘Real Madrid’,‘Man United’,‘Liverpool’,‘Man City’,‘Inter’,‘Juventus’}; start = ’01-Jan-2020′; D = ‘./’; for i_club = 1:length(club0);club = club0{i_club}; url = sprintf(‘http://api.clubelo.com/%s’,club); % filename = sprintf(‘%sdata%d.csv’,D,i_club); % websave(filename, url); end S = dir(fullfile(D,‘data*.csv’)); datatotal = cell(1,length(club0)); for k = 1:numel(S) F = fullfile(D,S(k).name); datatotal{k} = readtable(F); end… read more »