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

Close-button

Up and Coming Editors on Answers

964

data points

Description:

These are the top 10 sub-3000 Contributors in Answers

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

Time Recorded (time1756) Data (data1756)
21 May 2015 09:00:41 [756104 2963 1798167 2732 3559595 2366 2021205 2271 1078046 2208 869215 2025 631608 1822 695467 1812 2542023 1747 3102170 1732]
20 May 2015 09:00:39 [756104 2955 1798167 2732 3559595 2366 2021205 2271 1078046 2208 869215 2023 631608 1822 695467 1808 2542023 1747 3102170 1722]
19 May 2015 15:25:23 [756104 2949 1798167 2732 3559595 2366 2021205 2271 1078046 2208 869215 2019 631608 1822 695467 1804 2542023 1747 3102170 1718]
13 May 2015 09:00:40 [756104 2897 1798167 2731 3559595 2366 2021205 2271 1078046 2208 869215 1997 631608 1822 695467 1796 2542023 1747 3102170 1638]
12 May 2015 09:00:41 [756104 2885 1798167 2731 3559595 2366 2021205 2271 1078046 2208 869215 1987 631608 1822 695467 1796 2542023 1747 3102170 1630]
url = 'http://www.mathworks.com/matlabcentral/answers/contributors';
html = urlread(url);

%%
target = '<span class="highlighted">(\d+)</span>\s+reputation';
tkRep = regexp(html,target,'tokens');

%%

target = '<a href="/matlabcentral/profile/authors/(\d+)';
tkID = regexp(html,target,'tokens');
tkID = unique([tkID{:}],'stable');

%%
n = 50;
vals = zeros(2,n);
for i = 1:n
    profid = str2num(tkID{i});
    rep = str2num(tkRep{i}{1});
    vals(1,i) = profid;
    vals(2,i) = rep;
end

% Get the 10 contributors with the best sub-3000 score
ix1 = cumsum(vals(2,:) < 3000);
ix2 = (ix1 > 0) & (ix1 < 11);
vals = vals(:,ix2);

% Get the top 10 contributors
vals = vals(:)';
updatetrend(vals)
Tags:

    Add Tags


    0 comments