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

Close-button

Top 50 Cody players

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

789

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

Time Recorded (time1775) Data (data1775)
25 Oct 2014 07:30:13 [1809 1560 1511 1510 1504 1360 1336 1312 1272 1139 1082 1012 1000 9190 8530 8440 8370 8350 8155 7975 7935 7710 7590 7555 7365 7190 7030 6620 6615 6570 6500 6355 6230 6160 6050 5870 5790 5780 5755 5620 5125 5010 4860 4780 4725 4725 4540 4525 4500 4460]
24 Oct 2014 07:30:13 [1809 1560 1511 1507 1502 1359 1336 1312 1272 1140 1082 1012 1000 9190 8530 8440 8370 8350 8155 7975 7935 7710 7590 7555 7365 7190 7030 6620 6615 6550 6500 6355 6230 6160 6050 5870 5790 5780 5755 5580 5125 5010 4860 4780 4725 4725 4540 4525 4500 4460]
23 Oct 2014 07:30:12 [1809 1556 1511 1506 1500 1346 1336 1312 1272 1140 1082 1011 1000 9190 8510 8440 8370 8350 8155 7975 7935 7710 7590 7555 7365 7190 7030 6620 6615 6520 6500 6355 6230 6160 6050 5870 5790 5780 5755 5570 5125 5000 4860 4780 4725 4725 4540 4525 4500 4460]
22 Oct 2014 07:30:13 [1809 1556 1511 1502 1500 1340 1336 1312 1272 1140 1082 1010 1000 9190 8510 8440 8370 8350 8155 7975 7935 7710 7580 7525 7365 7190 7030 6620 6615 6500 6490 6355 6230 6160 6050 5870 5790 5780 5755 5570 5125 4950 4860 4780 4725 4725 4540 4525 4500 4460]
21 Oct 2014 07:30:13 [1809 1554 1511 1502 1500 1336 1329 1312 1272 1140 1082 1010 1000 9190 8510 8440 8370 8350 8155 7975 7935 7710 7560 7525 7365 7190 7030 6620 6615 6490 6460 6355 6230 6160 6050 5870 5790 5780 5755 5570 5125 4950 4860 4780 4725 4725 4540 4525 4500 4460]
% % % 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

    J.R.! Menzinger about 1 year 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).