ta.TwitterAnalysis.get_time_series_df

TwitterAnalysis.get_time_series_df(ht_arr=None, startDate_filter=None, endDate_filter=None, arr_edges=None, arr_ht_edges=None)[source]

Method to query data in mongoDB for timeseries analysis given certain filters. It creates all folders, edge files, and any other files based on given settings. The setting of what files are interesting or not, should be set using the setConfigs method.

Parameters
  • ht_arr – array of hashtags to filter the data from

  • startDate_filter ((Optional)) – filter by a certain start date

  • endDate_filter ((Optional)) – filter by a certain end date

  • arr_edges ((Optional)) – and array of concatenated edges that will be used to filter certain connection only. the method concat_edges can be used to create that array.

  • arr_ht_edges ((Optional)) – and array of concatenated hashtag edges that will be used to filter certain ht connection only. the method concat_edges can be used to create that array.

Examples

>>> ...