2022-04-01 22:22:33 +00:00
|
|
|
accessing
|
|
|
|
asDictionary
|
|
|
|
|
2022-06-04 22:49:18 +00:00
|
|
|
| tweets tweetsHistogramData repliesHistogramData quotesHistogramData retweetsHistogramData |
|
2023-07-27 01:52:32 +00:00
|
|
|
[self config at: 'lang']
|
|
|
|
onErrorDo: [ ^ self inform: 'Please put a lang key with a language (for example: en) in the object config.' ].
|
2022-04-27 20:38:10 +00:00
|
|
|
tweets := self messages.
|
2022-06-02 04:32:31 +00:00
|
|
|
tweetsHistogramData := self tweetsByWeeksTimeSpan.
|
2022-06-04 00:43:01 +00:00
|
|
|
repliesHistogramData := self repliesByWeeksTimeSpan.
|
|
|
|
quotesHistogramData := self quotesReportData.
|
2022-06-04 22:49:18 +00:00
|
|
|
retweetsHistogramData := self retweetsReportData.
|
2022-04-25 22:12:04 +00:00
|
|
|
^ { 'profile-card-avatar' -> self profileImageFile fullName.
|
2022-05-31 18:08:05 +00:00
|
|
|
'profile-card-avatar-url' -> self profileImageUrl.
|
2022-04-01 22:22:33 +00:00
|
|
|
'profile-card-fullname' -> self name .
|
|
|
|
'profile-card-username' -> self userName .
|
2022-04-27 20:38:10 +00:00
|
|
|
'profile-bio' -> self profileBio.
|
|
|
|
'messages-size' -> tweets size.
|
|
|
|
'messages-newest' -> tweets newest created asDate greaseString.
|
2022-06-02 04:32:31 +00:00
|
|
|
'messages-oldest' -> tweets oldest created asDate greaseString.
|
|
|
|
'tweets-histogram-labels' -> tweetsHistogramData third.
|
|
|
|
'tweets-histogram-quantity' -> tweetsHistogramData second.
|
2022-06-04 00:43:01 +00:00
|
|
|
'replies-histogram-labels' -> repliesHistogramData third.
|
|
|
|
'replies-histogram-quantity' -> repliesHistogramData second.
|
2022-06-04 22:49:18 +00:00
|
|
|
'retweets-histogram-labels' -> retweetsHistogramData third.
|
|
|
|
'retweets-histogram-quantity' -> retweetsHistogramData second.
|
2022-06-04 00:43:01 +00:00
|
|
|
'quotes-histogram-labels' -> quotesHistogramData third.
|
|
|
|
'quotes-histogram-quantity' -> quotesHistogramData second.
|
2023-07-26 15:04:08 +00:00
|
|
|
'wordcloud-data' -> (self wordcloudDataLanguage: (self config at: 'lang')) first.
|
2022-04-27 20:38:10 +00:00
|
|
|
} asDictionary
|