From 1efe0eface32d6415ca43b72ffbe95d08f5e46dc Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 22 Nov 2021 16:42:28 -0500 Subject: [PATCH] [-] Remove twitter_random_individuals file --- src/raw_collect/twitter_random_individuals.py | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/raw_collect/twitter_random_individuals.py diff --git a/src/raw_collect/twitter_random_individuals.py b/src/raw_collect/twitter_random_individuals.py deleted file mode 100644 index ef13339..0000000 --- a/src/raw_collect/twitter_random_individuals.py +++ /dev/null @@ -1,32 +0,0 @@ - - -def get_followings_chain(start_point: str, n: int) -> tuple[list[str], list[str]]: - """ - This function obtains twitter users through a followings chain. - - 1. This function tries to obtain a semi-random list of accounts from twitter. - - Since there isn't a database with all twitter users, we can't obtain a strictly random list of - twitter users. Therefore, we use the method of follows chaining: we start from a specific - individual, obtain their followers, and pick 6 random individuals from the followings list. - Then, we repeat the process for the selected followings: we pick 6 random followings of the 6 - random followings that we picked. - - In reality, this method will be biased toward individuals that are worthy of following since - we are picking random followings. - - 2. This function tries to obtain a list of most popular accounts from twitter. - - Again, since there isn't a database with all twitter users and their popularity, we can't - obtain a definite list of most popular accounts. So, we obtain our best approximation of a - list of most popular accounts by obtaining - - :param start_point: The starting user of the search - :param n: How many random individuals in total? - :return: 1. A list of semi-random individuals, and 2. a list of most popular individuals. - """ - - - -if __name__ == '__main__': - pass