ta.TwitterDB.loadAggregations

TwitterDB.loadAggregations(aggType)[source]

Method to load addtional aggregated collection to MongoDB It creates the tweetWords collection.

Parameters

aggType – the type of aggreagation you want to run. (Options: tweetCountByFile, hashtagCount, tweetCountByLanguageAgg, tweetCountByMonthAgg, tweetCountByUser)

Examples

>>> loadAggregations('tweetCountByFile')