Created
January 27, 2019 18:45
-
-
Save malcolmbarrett/b06aa388dc64b8c0cf0a745bd5d6de9f to your computer and use it in GitHub Desktop.
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
library(dplyr) | |
library(rtweet) | |
abi_likes <- rtweet::get_favorites("GoAbiAryan", token = your_token) | |
abi_likes %>% | |
dplyr::sample_n(10) %>% | |
dplyr::pull(text) | |
abi_likes %>% | |
dplyr::select(user_id, status_id, created_at, screen_name, text) %>% | |
readr::write_excel_csv("abi_likes.csv") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment