Build tweet query
Build tweet query according to targeted parameters, can then be input to main get_user_tweets
function as query parameter.
build_user_query( users, is_retweet = NULL, is_reply = FALSE, is_quote = FALSE, place = NULL, country = NULL, point_radius = NULL, bbox = NULL, geo_query = FALSE, remove_promoted = FALSE, has_hashtags = FALSE, has_cashtags = FALSE, has_links = FALSE, has_mentions = FALSE, has_media = FALSE, has_images = FALSE, has_videos = FALSE, has_geo = FALSE, lang = NULL )
users |
string or character vector, user handles from which to collect data |
is_retweet |
If |
is_reply |
If |
is_quote |
If |
place |
string, name of place e.g. "London" |
country |
string, name of country as ISO alpha-2 code e.g. "GB" |
point_radius |
numeric, a vector of two point coordinates latitude, longitude, and point radius distance (in miles) |
bbox |
numeric, a vector of four bounding box coordinates from west longitude to north latitude |
geo_query |
If |
remove_promoted |
If |
has_hashtags |
If |
has_cashtags |
If |
has_links |
If |
has_mentions |
If |
has_media |
If |
has_images |
If |
has_videos |
If |
has_geo |
If |
lang |
string, a single BCP 47 language identifier e.g. "fr" |
a query string
## Not run: users <- c("cbarrie", "justin_ct_ho") query <- build_user_query(users, is_retweet = F, has_media = T, lang = "en") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.