DaylightingSociety / SocMap

Social Mapping Framework for Twitter
https://socmap.daylightingsociety.org/
BSD 3-Clause "New" or "Revised" License
18 stars 4 forks source link

Include number of tweets in graph node #12

Closed milo-trujillo closed 5 years ago

milo-trujillo commented 6 years ago

We should include the number of tweets we collected from a user in their node on the graph. This makes it easy to remove deleted / banned accounts (which will have 0 tweets) from a graph, as well as prune relatively inactive users, if the researcher wants to.

This should be as simple as including a 'tweets' field when creating the node. We'll probably have to add a getNumberOfTweets(username) function to analyze.py, and preferably we can learn the answer without fully expanding the JSON back to tweet objects again, since that will waste time.

milo-trujillo commented 5 years ago

Complete.