Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/notebooks/pull_tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def write_data(all_text, tableWriter):
id = int(t['id'])
#if there is a newer Id save that as the new max_id, so tweets are only pulled once each
if max_id < float(t['id']):
globals()['max_id'] = int(t['id'])
max_id = int(t['id'])
dateTime = t['created_at'][:-1]+" NY"
retweet_count = t['public_metrics']['retweet_count']
reply_count = t['public_metrics']['reply_count']
Expand Down