The Trendy application is being retired in the new year. The new web application, ThingSpeak, offers similar functionality. We recommend that active Trendy users who are looking to create new trends use ThingSpeak. To begin collecting your data in ThingSpeak, please read the tutorial : ThingSpeak for Trendy users. Although Trendy no longer allows the creation of new trends, the application will still remain accessible until January 13, 2016. Until that date, you can view your current trends and download your data. After that date, your data will no longer be accessible. Thanks for using Trendy and we encourage you to check out ThingSpeak.

Close-button

Up and Coming Editors on Answers

1306

data points

Description:

These are the top 10 sub-3000 Contributors in Answers

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

Time Recorded (time1756) Data (data1756)
08 Feb 2016 10:00:28 [7021437 2761 869215 2712 1078046 2495 3559595 2442 2021205 2294 2445666 2116 695467 2082 631608 1824 2542023 1759 1033975 1694]
07 Feb 2016 10:00:35 [7021437 2759 869215 2712 1078046 2495 3559595 2442 2021205 2294 2445666 2116 695467 2082 631608 1824 2542023 1759 1033975 1694]
06 Feb 2016 10:00:28 [7021437 2759 869215 2712 1078046 2495 3559595 2442 2021205 2294 2445666 2116 695467 2082 631608 1824 2542023 1759 1033975 1694]
05 Feb 2016 10:00:29 [7021437 2759 869215 2712 1078046 2495 3559595 2442 2021205 2294 2445666 2116 695467 2082 631608 1824 2542023 1759 1033975 1694]
04 Feb 2016 10:00:26 [7021437 2759 869215 2710 1078046 2495 3559595 2440 2021205 2294 2445666 2116 695467 2082 631608 1824 2542023 1759 1033975 1694]
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