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

Close-button

Top Players in Cody

1074

data points

Description:

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

Time Recorded (time1748) Data (data1748)
07 Jul 2015 09:01:27 [1379371 22780 734801 21215 3437206 19935 343082 19700 33802 19205 4345310 18835 5349647 17495 2255311 17335 2722350 14555 1683200 13760]
06 Jul 2015 09:00:30 [1379371 22780 734801 21205 3437206 19935 343082 19700 33802 19205 4345310 18825 5349647 17455 2255311 17335 2722350 14555 1683200 13760]
06 Jul 2015 09:00:21 [1379371 22780 734801 21205 3437206 19935 343082 19700 33802 19205 4345310 18825 5349647 17455 2255311 17335 2722350 14555 1683200 13760]
05 Jul 2015 09:00:33 [1379371 22780 734801 21205 3437206 19935 343082 19700 33802 19205 4345310 18805 5349647 17455 2255311 17335 2722350 14555 1683200 13750]
04 Jul 2015 09:00:29 [1379371 22780 734801 21165 3437206 19965 343082 19700 33802 19205 4345310 18805 5349647 17455 2255311 17335 2722350 14555 1683200 13750]
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.