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

Close-button

Top Players in Cody

  • Created by: Ned Gulley
  • Last ran: about 4 hours ago.
  • Auto-run in: about 20 hours.
  • Created on: 06 Jul 2012

739

data points

Description:

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

Time Recorded (time1748) Data (data1748)
22 Jul 2014 09:00:30 [1379371 16780 2255311 13875 343082 13780 33802 13580 2789428 13360 2722350 13125 3437206 12110 963450 11410 734801 10770 4345310 10355]
21 Jul 2014 09:00:35 [1379371 16770 2255311 13805 343082 13750 33802 13580 2789428 13360 2722350 13125 3437206 12090 963450 11400 734801 10770 4345310 10355]
20 Jul 2014 09:00:29 [1379371 16770 2255311 13765 343082 13720 33802 13580 2789428 13360 2722350 13125 3437206 12035 963450 11400 734801 10770 4345310 10355]
19 Jul 2014 09:00:28 [1379371 16750 2255311 13765 343082 13685 33802 13580 2789428 13360 2722350 13125 3437206 11895 963450 11400 734801 10770 4345310 10355]
18 Jul 2014 09:00:31 [1379371 16720 2255311 13765 343082 13675 33802 13580 2789428 13360 2722350 13125 3437206 11855 963450 11400 734801 10770 4345310 10355]
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


    0 comments