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

Close-button

Top Players in Cody

1025

data points

Description:

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

Time Recorded (time1748) Data (data1748)
22 May 2015 09:00:31 [1379371 21690 734801 20435 3437206 19415 343082 19235 33802 18740 4345310 18245 2255311 17395 5349647 16575 2722350 14555 2789428 13450]
21 May 2015 09:00:32 [1379371 21690 734801 20395 3437206 19415 343082 19235 33802 18720 4345310 18225 2255311 17395 5349647 16565 2722350 14555 2789428 13450]
20 May 2015 09:00:30 [1379371 21690 734801 20355 3437206 19415 343082 19215 33802 18675 4345310 18225 2255311 17395 5349647 16555 2722350 14555 2789428 13450]
19 May 2015 16:49:57 [1379371 21690 734801 20345 3437206 19415 343082 19215 33802 18655 4345310 18225 2255311 17395 5349647 16545 2722350 14555 2789428 13450]
14 May 2015 09:00:30 [1379371 21690 734801 20255 3437206 19415 343082 19165 33802 18545 4345310 18205 2255311 17395 5349647 16370 2722350 14555 2789428 13450]
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


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