This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all, I'm trying to extract earthquake tweets from Twitter with specific long/lat coordinates thand en store into csv file.. | |
However, the result returns tweets NOT specific to locaiton parameters, does anyone know why? Here is my code: | |
csvFile = open('seattle.csv', 'a') | |
csvWriter = csv.writer(csvFile) | |
for tweet in tweepy.Cursor(api.search,q="#earthquake",count=100, | |
location= "47.6126,-122.6222, 50mi", | |
lang="en", | |
since="2017-04-03").items(): |