Commit fd5431a4 authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Add location

parent 92bf4aa0
......@@ -44,6 +44,7 @@ def Elastic(Tweet, config):
"date": Tweet.datestamp,
"time": Tweet.timestamp,
"timezone": Tweet.timezone,
"location": Tweet.location,
"tweet": Tweet.tweet,
"hashtags": Tweet.hashtags,
"user_id": Tweet.user_id,
......@@ -65,6 +66,7 @@ def Elastic(Tweet, config):
"date": Tweet.datestamp,
"time": Tweet.timestamp,
"timezone": Tweet.timezone,
"location": Tweet.location,
"tweet": Tweet.tweet,
"hashtags": Tweet.hashtags,
"likes": True,
......@@ -88,6 +90,7 @@ def Elastic(Tweet, config):
"date": Tweet.datestamp,
"time": Tweet.timestamp,
"timezone": Tweet.timezone,
"location": Tweet.location,
"tweet": Tweet.tweet,
"hashtags": Tweet.hashtags,
"replies": True,
......@@ -111,6 +114,7 @@ def Elastic(Tweet, config):
"date": Tweet.datestamp,
"time": Tweet.timestamp,
"timezone": Tweet.timezone,
"location": Tweet.location,
"tweet": Tweet.tweet,
"hashtags": Tweet.hashtags,
"retweets": True,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment