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

Close-button

Up and Coming Editors on Answers

874

data points

Description:

These are the top 10 sub-3000 Contributors in Answers

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

Time Recorded (time1756) Data (data1756)
31 Jan 2015 10:00:32 [1670 2832 1798167 2711 2021205 2260 756104 2218 1078046 2203 3559595 2174 2950957 1980 2542023 1739 631608 1676 1455089 1572]
30 Jan 2015 10:00:35 [1670 2828 1798167 2711 2021205 2260 756104 2218 1078046 2203 3559595 2166 2950957 1964 2542023 1739 631608 1676 1455089 1572]
29 Jan 2015 10:00:35 [1670 2828 1798167 2711 2021205 2260 756104 2218 1078046 2201 3559595 2166 2950957 1930 2542023 1739 631608 1674 1455089 1570]
28 Jan 2015 10:00:34 [2929937 2981 1670 2820 1798167 2711 2021205 2260 756104 2218 1078046 2199 3559595 2166 2950957 1914 2542023 1739 631608 1674]
27 Jan 2015 10:00:34 [2929937 2981 1670 2820 1798167 2711 2021205 2260 756104 2218 1078046 2193 3559595 2166 2950957 1906 2542023 1739 631608 1674]
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 = '<div class="contributor_profile">\s+<h2><a href="/matlabcentral/profile/authors/(\d+)';
tkID = regexp(html,target,'tokens');

%%
n = 50;
vals = zeros(2,n);
for i = 1:n
    profid = str2num(tkID{i}{1});
    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