Beispiel #1
0
 public StreamStatistics CalculateStreamStatistics()
 {
     CalculateVolume();
     _streamStatistics.TopEmojis   = _emojiService.GetTop5();
     _streamStatistics.TopHashTags = _hashTagService.GetTop5();
     _streamStatistics.TopUrls     = _urlsService.GetTop5();
     _streamStatistics.PercentageOfTweetsThatContainEmojis = _tweetService.CalculatePercentationOfTweetsThatContainEmojis();
     _streamStatistics.PercentageOfTweetsThatContainUrls   = _tweetService.CalculatePercentationOfTweetsThatContainUrls();
     return(_streamStatistics);
 }