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

Close-button

Up and Coming Editors on Answers

1036

data points

Description:

These are the top 10 sub-3000 Contributors in Answers

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

Time Recorded (time1756) Data (data1756)
27 Jul 2015 09:00:41 [1798167 2738 3559595 2432 2021205 2279 1078046 2243 3102170 2230 869215 2163 695467 1942 631608 1822 2542023 1749 1455089 1588]
26 Jul 2015 09:00:43 [1798167 2738 3559595 2432 2021205 2279 1078046 2241 3102170 2226 869215 2163 695467 1938 631608 1822 2542023 1749 1455089 1588]
25 Jul 2015 09:00:41 [1798167 2738 3559595 2432 2021205 2279 1078046 2241 3102170 2226 869215 2161 695467 1938 631608 1822 2542023 1749 1455089 1588]
24 Jul 2015 09:00:45 [1798167 2738 3559595 2432 2021205 2279 1078046 2237 3102170 2226 869215 2155 695467 1938 631608 1822 2542023 1749 1455089 1588]
23 Jul 2015 09:00:40 [1798167 2738 3559595 2432 2021205 2279 3102170 2226 1078046 2223 869215 2153 695467 1938 631608 1822 2542023 1749 1455089 1588]
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


    1 comment