[O] Clean code
This commit is contained in:
+1
-4
@@ -28,7 +28,7 @@ if __name__ == '__main__':
|
||||
# Data processing - Step P2
|
||||
# (After step P1) Select 500 most popular users and 500 random users who meet a particular
|
||||
# criteria as our sample.
|
||||
select_user_sample()
|
||||
# select_user_sample()
|
||||
|
||||
# Just curious, who are the 20 most popular individuals on twitter?
|
||||
# print(tabulate(((u.username, u.popularity) for u in load_user_sample().most_popular[:20]),
|
||||
@@ -47,9 +47,6 @@ if __name__ == '__main__':
|
||||
# for u in load_user_sample().random:
|
||||
# download_all_tweets(api, u.username)
|
||||
|
||||
for u in os.listdir('./data/twitter/user-tweets/user'):
|
||||
|
||||
|
||||
#####################
|
||||
# Data processing - Step P3
|
||||
# (After step C2) Process the downloaded tweets, determine whether they are covid-related
|
||||
|
||||
Reference in New Issue
Block a user