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

Close-button

Top 50 Cody players

  • Created by: Aurelien Queffurust
  • Last ran: about 7 hours ago.
  • Auto-run in: about 17 hours.
  • Created on: 27 Jul 2012

712

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 712) Show All Data

Time Recorded (time1775) Data (data1775)
14 Jul 2014 07:30:19 [1667 1362 1357 1354 1336 1312 1161 1137 1077 1033 1022 1000 8850 8640 8350 7975 7935 7910 7805 7780 7365 7030 6760 6665 6620 6435 6385 6230 6180 6000 5870 5780 5755 5425 5235 5170 5125 4780 4730 4725 4725 4525 4500 4460 4460 4410 4395 4335 4295 4280]
13 Jul 2014 07:30:19 [1666 1362 1356 1354 1336 1312 1154 1136 1077 1033 1017 1000 8820 8620 8350 7975 7935 7910 7805 7780 7365 7030 6760 6665 6620 6435 6385 6230 6180 6000 5870 5780 5755 5425 5235 5140 5125 4780 4730 4725 4725 4525 4500 4460 4460 4410 4395 4335 4295 4280]
12 Jul 2014 07:30:20 [1666 1355 1354 1354 1336 1312 1143 1136 1077 1033 1009 1000 8750 8620 8350 7975 7935 7910 7805 7780 7365 7030 6760 6665 6620 6435 6385 6230 6180 6000 5870 5780 5755 5425 5235 5140 5125 4780 4730 4725 4725 4525 4500 4460 4460 4410 4395 4335 4295 4280]
11 Jul 2014 07:30:19 [1661 1353 1352 1347 1336 1312 1130 1119 1077 1033 1005 1000 8750 8590 8350 7975 7935 7890 7805 7780 7365 7030 6760 6645 6620 6435 6385 6230 6180 6000 5870 5780 5755 5425 5150 5125 4990 4780 4730 4725 4725 4525 4500 4460 4460 4410 4395 4335 4295 4280]
10 Jul 2014 07:30:19 [1661 1349 1347 1337 1336 1312 1130 1111 1077 1033 1000 1000 8750 8530 8350 7975 7935 7880 7805 7780 7365 7030 6760 6635 6620 6435 6345 6180 6160 6000 5870 5780 5755 5425 5125 4860 4790 4780 4730 4725 4725 4525 4500 4460 4460 4410 4395 4335 4295 4280]
% % % 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

    José Ramón Menzinger 9 months ago

    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).