Tweepy_Wrapper module
- Tweepy_Wrapper.tweetScrape(count=50, geocode='32.71642383476381,-117.16143519352777,20km')
This function takes in a search term and a geocode, and returns a dataframe of tweets that match the search term within the geocode
- Parameters
count – The number of tweets to return per page, up to a maximum of 100. Defaults to 15. This was formerly the “rpp”
- parameter in the old Search API. Defaults to 50
geocode: The latitude and longitude of the center of the search area, followed by the radius of the search area.
Defaults to 32.71642383476381,-117.16143519352777,20km
- Returns
topic, stream, text, time of creation, location, ups, favorite_count
- Return type
A dataframe with the columns
- Tweepy_Wrapper.userScrape(count=50)
- Returns