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

Close-button

Top Players in Cody

1161

data points

Description:

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

Time Recorded (time1748) Data (data1748)
31 Aug 2015 09:00:36 [1379371 24000 734801 22375 343082 20850 3437206 20525 33802 20205 4345310 20005 5349647 18915 2255311 17335 1683200 14610 2722350 14555]
30 Aug 2015 09:00:39 [1379371 24000 734801 22355 343082 20850 3437206 20525 33802 20205 4345310 20005 5349647 18915 2255311 17335 1683200 14590 2722350 14555]
29 Aug 2015 09:00:39 [1379371 24000 734801 22335 343082 20810 3437206 20455 33802 20205 4345310 20005 5349647 18915 2255311 17335 1683200 14590 2722350 14555]
28 Aug 2015 09:01:35 [1379371 24000 734801 22335 343082 20810 3437206 20455 33802 20165 4345310 20005 5349647 18865 2255311 17335 1683200 14590 2722350 14555]
27 Aug 2015 09:00:46 [1379371 24000 734801 22315 343082 20810 3437206 20455 33802 20145 4345310 20005 5349647 18825 2255311 17335 1683200 14590 2722350 14555]
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 = 10;
vals = zeros(2,n);
for i = 1:n
    profid = str2num(tk{i}{1});
    score = str2num(tk{i}{2});
    vals(1,i) = profid;
    vals(2,i) = score;
end
vals = vals(:)';
updatetrend(vals)
Tags:

    Add Tags


    3 comments

    Hello Ned. Couple of trends stopped on 16 Apr, any ideas why?

    Thanks for the note Jan. Not sure what happened, but hopefully it's back on track now.