Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature (data): get the count of tweet written per day per candidate #77

Open
guillaume-salle opened this issue Mar 23, 2022 · 0 comments
Assignees
Labels
feature New feature

Comments

@guillaume-salle
Copy link
Contributor

📖 Describe what you want

Add a feature that requests the number of tweets published on twitter for a given candidate and a given day.
You may also request in addition the number of tweets for each hour of that day.

You should maybe use the granularity parameter of the function that makes querys in searchtweet-v2.

These data will help us decide how much tweet per candidate we should request, and have an overview of the political activity on twitter that we can display on a graph.

This data should be saved the somewhere data folder, maybe add a new data/metrics directory. Then push it to the dvc remote.

In ordre for this data to be reproductible, you should also save the request you made to obtain these answers from twitter API. You can either write the query in the same file or in another file.

✔️ Definition of done

  1. The feature is added.
  2. Obtain locally the answer from twitter for one day 7 days ago on one candidate.
  3. Save also the query you sent to the twitter API.
  4. Push this data in the correct folder to the remote dvc.
@guillaume-salle guillaume-salle added fixme This issue will be soon fixed feature New feature labels Mar 23, 2022
@guillaume-salle guillaume-salle removed the fixme This issue will be soon fixed label Mar 24, 2022
@guillaume-salle guillaume-salle self-assigned this Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants