Last active
September 13, 2020 20:11
-
-
Save mribeirodantas/ec0749ff3ea94b91d690a9a8c3977270 to your computer and use it in GitHub Desktop.
Get a vector of handle names of people you follow and have not tweeted in the past 90 days.
This file contains hidden or 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
# install.packages("rtweet") | |
library(rtweet) | |
library(dplyr) | |
library(lubridate) | |
# Set to your username below | |
username = 'mribeirodantas' | |
following = get_friends(user = username)$user_id | |
get_timeline(user = following, n = 1, check=FALSE) %>% | |
filter(created_at < (today() - 90)) %>% | |
select(screen_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment