Since you are new, let us show you how Trendy works.

Close-button

Top 50 Cody players

1053

data points

Description:

This Trends shows the score of 50 top players. You can see how may players are above 2000 points , 5000 points ...

Recently Collected Data (last 5 of 1053) Show All Data

Time Recorded (time1775) Data (data1775)
01 Aug 2015 07:30:08 [2299 2120 2037 1967 1955 1946 1771 1733 1455 1393 1345 1332 1264 1223 1196 1139 1135 1096 1087 1043 1037 1000 9270 9190 9040 8370 8340 8225 8090 7935 7550 7345 7260 7080 7030 6630 6380 6355 6230 6090 6050 5920 5910 5780 5755 5675 5630 5560 5075 5025]
31 Jul 2015 07:30:06 [2291 2120 2037 1967 1955 1946 1771 1733 1455 1386 1345 1329 1264 1223 1196 1139 1135 1096 1087 1043 1037 1000 9270 9190 9040 8370 8340 8225 8090 7935 7550 7345 7260 7080 7030 6630 6380 6355 6230 6090 6050 5920 5910 5780 5755 5675 5630 5560 5075 5025]
31 Jul 2015 07:30:05 [2291 2120 2037 1967 1955 1946 1771 1733 1455 1386 1345 1329 1264 1223 1196 1139 1135 1096 1087 1043 1037 1000 9270 9190 9040 8370 8340 8225 8090 7935 7550 7345 7260 7080 7030 6630 6380 6355 6230 6090 6050 5920 5910 5780 5755 5675 5630 5560 5075 5025]
30 Jul 2015 07:30:07 [2273 2120 2037 1967 1955 1930 1764 1733 1455 1375 1345 1319 1267 1223 1196 1139 1135 1093 1082 1043 1037 1000 9270 9190 9040 8370 8340 8225 8040 7935 7550 7345 7260 7030 7030 6630 6355 6330 6230 6090 6050 5910 5870 5780 5755 5735 5630 5560 5075 5025]
29 Jul 2015 07:30:08 [2265 2119 2030 1965 1948 1921 1753 1733 1455 1373 1345 1319 1267 1223 1196 1139 1135 1093 1082 1043 1037 1000 9270 9190 9040 8370 8340 8225 8040 7935 7550 7345 7260 7030 7030 6630 6355 6330 6230 6090 6050 5910 5870 5780 5755 5735 5630 5560 5075 5025]
% % % Example code added - Retrieve answer count on MATLAB Answers
% % 
% % url = 'http://www.mathworks.com/matlabcentral/cody/players';
% % html = urlread(url);
% % 
% % % FORMAT: 
% % % <a href="/matlabcentral/cody/players/33802-james" title="Score: 3310">
% % 
% % tk = regexp(html,'/matlabcentral/cody/players/(\d+).*?" title="Score: (\d+)"','tokens');
% % n = 50;
% % vals = zeros(2,n);
% % for i = 1:n
% %  
% %     score = str2num(tk{i}{2});
% %    
% %     vals(1,i) = score;
% % end
% % vals = vals(1:2:end)';
% % updatetrend(vals)



% as of 15-Nov-2012 (badges appear) :
url = 'http://www.mathworks.com/matlabcentral/cody/players';
html = urlread(url);

e=findstr('<span class=''sort_highlight''>',html);
for ii = 1 :50
scoring(ii) = str2double(html(e(ii)+29 :e(ii)+32));
end
updatetrend(scoring)
Tags:

    Add Tags


    1 comment

    No, no, no!! I said it was fine as it was!! ;-)
    Now it is broken! :'-(
    Try this:
    % as of 15-Nov-2012 (badges appear) :
    url = 'http://www.mathworks.com/matlabcentral/cody/players';
    html = urlread(url);
    e = regexp(html, '^span class=''sort_highlight''v(\d*?)^/spanvScore','tokens');
    for ii = 1 :50
    scoring(ii) = str2double(e{ii}{1});
    end
    updatetrend(scoring)
    Note: on the regexp '^' must be changed by 'less than' ans 'v' must be changed by 'bigger than' (it was not displayed correctly on this comentar).