GuglielmoTor commited on
Commit
bfed44d
·
verified ·
1 Parent(s): 811c2ba

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +27 -1
config.py CHANGED
@@ -51,4 +51,30 @@ LOG_SUBJECT_POSTS = "post"
51
  LOG_SUBJECT_MENTIONS = "mention"
52
  LOG_SUBJECT_FOLLOWER_STATS = "followers_stats"
53
 
54
- BUBBLE_UNIQUE_ID_COLUMN_NAME = "_id"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  LOG_SUBJECT_MENTIONS = "mention"
52
  LOG_SUBJECT_FOLLOWER_STATS = "followers_stats"
53
 
54
+ BUBBLE_UNIQUE_ID_COLUMN_NAME = "_id"
55
+
56
+ # Mapping from plot_configs IDs to PLOT_FORMULAS keys
57
+ PLOT_ID_TO_FORMULA_KEY_MAP = {
58
+ "posts_activity": "posts_activity",
59
+ "mentions_activity": "mentions_activity",
60
+ "mention_sentiment": "mention_sentiment",
61
+ "followers_count": "followers_count_over_time",
62
+ "followers_growth_rate": "followers_growth_rate",
63
+ "followers_by_location": "followers_by_demographics",
64
+ "followers_by_role": "followers_by_demographics",
65
+ "followers_by_industry": "followers_by_demographics",
66
+ "followers_by_seniority": "followers_by_demographics",
67
+ "engagement_rate": "engagement_rate_over_time",
68
+ "reach_over_time": "reach_over_time",
69
+ "impressions_over_time": "impressions_over_time",
70
+ "likes_over_time": "likes_over_time",
71
+ "clicks_over_time": "clicks_over_time",
72
+ "shares_over_time": "shares_over_time",
73
+ "comments_over_time": "comments_over_time",
74
+ "comments_sentiment": "comments_sentiment_breakdown",
75
+ "post_frequency_cs": "post_frequency",
76
+ "content_format_breakdown_cs": "content_format_breakdown",
77
+ "content_topic_breakdown_cs": "content_topic_breakdown",
78
+ "mention_analysis_volume": "mentions_activity",
79
+ "mention_analysis_sentiment": "mention_sentiment"
80
+ }