Question: Create a file named data_collection.py where you search Twitter for 5000 tweets mentioning the hashtag #covid and store them in a file titled tweets.txt. You

Create a file named data_collection.py where you search Twitter for 5000 tweets mentioning the hashtag #covid and store them in a file titled tweets.txt. You should clean the tweets and make sure that one tweet is stored per line in the file, i.e. the tweets.txt file should exactly have 5000 lines (this can be done by replacing in the tweet text with a ). Please help!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!