I am working on streaming tweets using PYSpark in real-time.
I want to retrieve text, location, username. Currently, I am receiving tweet text only. Is there is anyway to get the location also.
lines = ssc.socketTextStream("localhost", 5550)
I'm using this line of code to get the tweets.