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

How many points PSG French soccer team has in Ligue 1?

1151

data points

Description:

Returns the number of points won by Paris Saint-Germain

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

Time Recorded (time1224) Data (data1224)
13 Feb 2016 07:30:07 [NaN]
12 Feb 2016 07:30:09 [69]
11 Feb 2016 07:30:07 [69]
10 Feb 2016 07:30:08 [69]
09 Feb 2016 07:30:07 [69]
% Retrieve how many points Paris Saint-Germain soccer team has :

 A = urlread('http://www.lfp.fr/ligue1/classement');
 idx  = strfind(A,'Paris');
 idx = idx(2);
 
 str = A(idx:idx+170);
 findpoints = regexp(str,'"points">');
str2 = str(findpoints+9:end);
 str3 = regexp(str2,'</td>','split');
 counter = str2double(str3(1));
updatetrend(counter); 
Tags:

    Add Tags


    0 comments