From 5bf5c7ebffe1088cd27a217b9e5476cf03e056b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs?= Date: Sun, 8 Oct 2023 14:49:14 +0200 Subject: [PATCH] Fix documentation note and some errors --- DESCRIPTION | 2 +- R/coords.R | 2 +- R/data.R | 4 ++-- R/http.R | 3 --- R/post-tweet.R | 2 +- R/premium.R | 1 - man/TWIT_paginate_max_id.Rd | 4 ---- man/direct_messages.Rd | 4 ---- man/emojis.Rd | 2 +- man/get_favorites.Rd | 4 ---- man/get_followers.Rd | 4 ---- man/get_friends.Rd | 4 ---- man/get_mentions.Rd | 4 ---- man/get_retweets.Rd | 4 ---- man/get_timeline.Rd | 4 ---- man/get_trends.Rd | 4 ---- man/langs.Rd | 2 +- man/list_followers.Rd | 4 ---- man/list_get.Rd | 4 ---- man/list_members.Rd | 4 ---- man/list_membership.Rd | 4 ---- man/list_tweets.Rd | 4 ---- man/lists_members.Rd | 4 ---- man/lists_memberships.Rd | 4 ---- man/lists_statuses.Rd | 4 ---- man/lists_subscribers.Rd | 4 ---- man/lists_subscriptions.Rd | 4 ---- man/lists_users.Rd | 4 ---- man/lookup_friendships.Rd | 4 ---- man/lookup_tweets.Rd | 4 ---- man/lookup_users.Rd | 4 ---- man/my_friendships.Rd | 4 ---- man/post_tweet.Rd | 2 +- man/search_fullarchive.Rd | 7 ------- man/search_tweets.Rd | 4 ---- man/search_users.Rd | 4 ---- man/stream.Rd | 4 ---- man/trends_available.Rd | 4 ---- man/tweet_counts_recent.Rd | 4 ---- man/tweet_get.Rd | 4 ---- man/tweet_liking_users.Rd | 4 ---- man/tweet_quoted.Rd | 4 ---- man/tweet_retweeted_by.Rd | 4 ---- man/tweet_search_all.Rd | 4 ---- man/tweet_search_recent.Rd | 4 ---- man/user_blocked.Rd | 4 ---- man/user_bookmarks.Rd | 4 ---- man/user_by_username.Rd | 4 ---- man/user_followers.Rd | 4 ---- man/user_following.Rd | 4 ---- man/user_liked_tweets.Rd | 4 ---- man/user_list_follows.Rd | 4 ---- man/user_lists.Rd | 4 ---- man/user_mentions.Rd | 4 ---- man/user_muted.Rd | 4 ---- man/user_search.Rd | 4 ---- man/user_self.Rd | 4 ---- man/user_timeline.Rd | 4 ---- man/user_tweets.Rd | 4 ---- 59 files changed, 8 insertions(+), 215 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0609aa70..2223c949 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: rtweet Title: Collecting Twitter Data -Version: 1.2.0.9003 +Version: 1.2.0.9004 Authors@R: c( person("Michael W.", "Kearney", , "kearneymw@missouri.edu", role = "aut", comment = c(ORCID = "0000-0002-0730-4694")), diff --git a/R/coords.R b/R/coords.R index 8ac44cbe..56f33eac 100644 --- a/R/coords.R +++ b/R/coords.R @@ -57,7 +57,7 @@ lookup_coords <- function(address, components = NULL, apikey = NULL, ...) { if (missing(address)) stop("must supply address", call. = FALSE) stopifnot(is.atomic(address) && !is.null(address), - is.atomic(components)) + is.atomic(components) && !is.null(components)) place <- address if (grepl("^us$|^usa$|^united states$|^u\\.s", address, ignore.case = TRUE)) { diff --git a/R/data.R b/R/data.R index 92f7df6a..ea74853d 100644 --- a/R/data.R +++ b/R/data.R @@ -1,7 +1,7 @@ #' Defunct: Emojis codes and descriptions data. #' #' This data comes from "Unicode.org", -#' . The data are +#' . The data are #' codes and descriptions of Emojis. #' #' @docType data @@ -12,7 +12,7 @@ NULL #' Defunct: Language codes recognized by Twitter data. #' #' This data comes from the Library of Congress, -#' . The data are +#' . The data are #' descriptions and codes associated with internationally recognized languages. #' Variables include translations for each language represented as #' bibliographic, terminological, alpha, English, and French. diff --git a/R/http.R b/R/http.R index 4c8e6ced..5fcf07f7 100644 --- a/R/http.R +++ b/R/http.R @@ -95,9 +95,6 @@ TWIT_method <- function(method, token, api, #' If you expect a query to take hours or days to perform, you should not #' rely solely on `retryonratelimit` because it does not handle other common #' failure modes like temporarily losing your internet connection. -#' @param parse If `TRUE`, the default, returns a tidy data frame. Use `FALSE` -#' to return the "raw" list corresponding to the JSON returned from the -#' Twitter API. #' @param verbose Show progress bars and other messages indicating current #' progress? #' @returns A list with the json output of the API. diff --git a/R/post-tweet.R b/R/post-tweet.R index 30ef358f..837d4bbb 100644 --- a/R/post-tweet.R +++ b/R/post-tweet.R @@ -27,7 +27,7 @@ #' tweet refers to. Range should be between -90 and 90 (north). Note that you #' should enable the "Precise location" option in your account via *Settings #' and privacy > Privacy and Safety > Location*. See -#' [the official Help Center section](https://help.twitter.com/en/safety-and-security/twitter-location-services-for-mobile). +#' [the official Help Center section](https://help.twitter.com/en/safety-and-security/x-location-services-for-mobile). #' @param long A numeric value representing the longitude of the location the #' tweet refers to. Range should be between -180 and 180 (west). See #' `lat` parameter. diff --git a/R/premium.R b/R/premium.R index a88f7078..8110da6b 100644 --- a/R/premium.R +++ b/R/premium.R @@ -95,7 +95,6 @@ #' } #' #' @export -#' @references Endpoint: search_fullarchive <- function(q, n = 100, fromDate = NULL, toDate = NULL, continue = NULL, env_name = NULL, premium = FALSE, diff --git a/man/TWIT_paginate_max_id.Rd b/man/TWIT_paginate_max_id.Rd index 1c910d01..5b364009 100644 --- a/man/TWIT_paginate_max_id.Rd +++ b/man/TWIT_paginate_max_id.Rd @@ -100,10 +100,6 @@ progress?} \item{cursor}{Which page of results to return. The default will return the first page; you can supply the result from a previous call to continue pagination from where it left off.} - -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} } \value{ A list with the json output of the API. diff --git a/man/direct_messages.Rd b/man/direct_messages.Rd index b75da920..837fd04a 100644 --- a/man/direct_messages.Rd +++ b/man/direct_messages.Rd @@ -36,10 +36,6 @@ continue pagination from where it left off.} \item{next_cursor}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} Use \code{cursor} instead.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/emojis.Rd b/man/emojis.Rd index 59189b63..b03d69df 100644 --- a/man/emojis.Rd +++ b/man/emojis.Rd @@ -9,6 +9,6 @@ A tibble with two variables and 2,623 observations. } \description{ This data comes from "Unicode.org", -\url{http://unicode.org/emoji/charts/full-emoji-list.html}. The data are +\url{https://unicode.org/emoji/charts/full-emoji-list.html}. The data are codes and descriptions of Emojis. } diff --git a/man/get_favorites.Rd b/man/get_favorites.Rd index 4bda65e4..e3365f71 100644 --- a/man/get_favorites.Rd +++ b/man/get_favorites.Rd @@ -39,10 +39,6 @@ find tweets \strong{newer} than \code{since_id}.} \item{max_id}{Supply a vector of ids or a data frame of previous results to find tweets \strong{older} than \code{max_id}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait until it refreshes. Most Twitter rate limits refresh every 15 minutes. If \code{FALSE}, and the rate limit is exceeded, the function will terminate diff --git a/man/get_followers.Rd b/man/get_followers.Rd index 32c9aa7f..ede28278 100644 --- a/man/get_followers.Rd +++ b/man/get_followers.Rd @@ -49,10 +49,6 @@ If you expect a query to take hours or days to perform, you should not rely solely on \code{retryonratelimit} because it does not handle other common failure modes like temporarily losing your internet connection.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{Show progress bars and other messages indicating current progress?} diff --git a/man/get_friends.Rd b/man/get_friends.Rd index 9b421418..d3ea2f9a 100644 --- a/man/get_friends.Rd +++ b/man/get_friends.Rd @@ -50,10 +50,6 @@ failure modes like temporarily losing your internet connection.} the first page; you can supply the result from a previous call to continue pagination from where it left off.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{Show progress bars and other messages indicating current progress?} diff --git a/man/get_mentions.Rd b/man/get_mentions.Rd index 5d81da89..a368d324 100644 --- a/man/get_mentions.Rd +++ b/man/get_mentions.Rd @@ -36,10 +36,6 @@ find tweets \strong{newer} than \code{since_id}.} \item{max_id}{Supply a vector of ids or a data frame of previous results to find tweets \strong{older} than \code{max_id}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait until it refreshes. Most Twitter rate limits refresh every 15 minutes. If \code{FALSE}, and the rate limit is exceeded, the function will terminate diff --git a/man/get_retweets.Rd b/man/get_retweets.Rd index 82b674c0..ce8f27c9 100644 --- a/man/get_retweets.Rd +++ b/man/get_retweets.Rd @@ -14,10 +14,6 @@ get_retweeters(status_id, n = 100, parse = TRUE, token = NULL) \item{n}{Number of results to retrieve. Must be <= 100.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/get_timeline.Rd b/man/get_timeline.Rd index bbbba3ba..b7eeb9bb 100644 --- a/man/get_timeline.Rd +++ b/man/get_timeline.Rd @@ -60,10 +60,6 @@ find tweets \strong{older} than \code{max_id}.} (the default, what a user has tweeted/retweeted) or a "home" timeline (what the user would see if they logged into twitter).} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{check}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}} \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait diff --git a/man/get_trends.Rd b/man/get_trends.Rd index 3c7d44b5..dcfa200a 100644 --- a/man/get_trends.Rd +++ b/man/get_trends.Rd @@ -38,10 +38,6 @@ included in returned trends.} \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} - -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} } \value{ Tibble data frame of trends data for a given geographical area. diff --git a/man/langs.Rd b/man/langs.Rd index 2a683e2a..9bd1498a 100644 --- a/man/langs.Rd +++ b/man/langs.Rd @@ -9,7 +9,7 @@ A tibble with five variables and 486 observations. } \description{ This data comes from the Library of Congress, -\url{http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt}. The data are +\url{https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt}. The data are descriptions and codes associated with internationally recognized languages. Variables include translations for each language represented as bibliographic, terminological, alpha, English, and French. diff --git a/man/list_followers.Rd b/man/list_followers.Rd index 16683887..1c93cbf8 100644 --- a/man/list_followers.Rd +++ b/man/list_followers.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/list_get.Rd b/man/list_get.Rd index 09420c21..815b881c 100644 --- a/man/list_get.Rd +++ b/man/list_get.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/list_members.Rd b/man/list_members.Rd index 74986902..9e626d41 100644 --- a/man/list_members.Rd +++ b/man/list_members.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/list_membership.Rd b/man/list_membership.Rd index a78b80dd..58bbd403 100644 --- a/man/list_membership.Rd +++ b/man/list_membership.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/list_tweets.Rd b/man/list_tweets.Rd index 1edfacec..54bc3e6d 100644 --- a/man/list_tweets.Rd +++ b/man/list_tweets.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/lists_members.Rd b/man/lists_members.Rd index d0d441c3..258ee93b 100644 --- a/man/lists_members.Rd +++ b/man/lists_members.Rd @@ -64,10 +64,6 @@ failure modes like temporarily losing your internet connection.} \item{verbose}{Show progress bars and other messages indicating current progress?} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{...}{Other arguments used as parameters in query composition.} } \description{ diff --git a/man/lists_memberships.Rd b/man/lists_memberships.Rd index ba29c12c..5a031222 100644 --- a/man/lists_memberships.Rd +++ b/man/lists_memberships.Rd @@ -45,10 +45,6 @@ authenticating user owns.} a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait until it refreshes. Most Twitter rate limits refresh every 15 minutes. If \code{FALSE}, and the rate limit is exceeded, the function will terminate diff --git a/man/lists_statuses.Rd b/man/lists_statuses.Rd index 9021201b..1ac74fdf 100644 --- a/man/lists_statuses.Rd +++ b/man/lists_statuses.Rd @@ -55,10 +55,6 @@ addition to the standard stream of tweets. The output format of retweeted tweets is identical to the representation you see in home_timeline.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait until it refreshes. Most Twitter rate limits refresh every 15 minutes. If \code{FALSE}, and the rate limit is exceeded, the function will terminate diff --git a/man/lists_subscribers.Rd b/man/lists_subscribers.Rd index 6b10ab31..def30c1a 100644 --- a/man/lists_subscribers.Rd +++ b/man/lists_subscribers.Rd @@ -39,10 +39,6 @@ size is 200, you'll get 200 results back.} the first page; you can supply the result from a previous call to continue pagination from where it left off.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait until it refreshes. Most Twitter rate limits refresh every 15 minutes. If \code{FALSE}, and the rate limit is exceeded, the function will terminate diff --git a/man/lists_subscriptions.Rd b/man/lists_subscriptions.Rd index 797c8480..e55fe39e 100644 --- a/man/lists_subscriptions.Rd +++ b/man/lists_subscriptions.Rd @@ -37,10 +37,6 @@ size is 200, you'll get 200 results back.} the first page; you can supply the result from a previous call to continue pagination from where it left off.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{retryonratelimit}{If \code{TRUE}, and a rate limit is exhausted, will wait until it refreshes. Most Twitter rate limits refresh every 15 minutes. If \code{FALSE}, and the rate limit is exceeded, the function will terminate diff --git a/man/lists_users.Rd b/man/lists_users.Rd index 0bd9414f..a03be650 100644 --- a/man/lists_users.Rd +++ b/man/lists_users.Rd @@ -17,10 +17,6 @@ how this parameter works.} \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} - -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} } \value{ data diff --git a/man/lookup_friendships.Rd b/man/lookup_friendships.Rd index 07d15a54..228c3450 100644 --- a/man/lookup_friendships.Rd +++ b/man/lookup_friendships.Rd @@ -11,10 +11,6 @@ lookup_friendships(source, target, parse = TRUE, token = NULL) \item{target}{Screen name or user id of target user.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/lookup_tweets.Rd b/man/lookup_tweets.Rd index 2688aedd..02b52452 100644 --- a/man/lookup_tweets.Rd +++ b/man/lookup_tweets.Rd @@ -16,10 +16,6 @@ lookup_tweets( \arguments{ \item{statuses}{User id or screen name of target user.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/lookup_users.Rd b/man/lookup_users.Rd index 0d892dd4..030d5b0c 100644 --- a/man/lookup_users.Rd +++ b/man/lookup_users.Rd @@ -15,10 +15,6 @@ lookup_users( \arguments{ \item{users}{User id or screen name of target user.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/my_friendships.Rd b/man/my_friendships.Rd index 4c2563ab..a08c9bfe 100644 --- a/man/my_friendships.Rd +++ b/man/my_friendships.Rd @@ -10,10 +10,6 @@ my_friendships(user, parse = FALSE, token = NULL) \item{user}{Character vector of screen names or user ids. See \code{\link[=as_screenname]{as_screenname()}} for more details.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/post_tweet.Rd b/man/post_tweet.Rd index 7c7e1929..3cb3ac29 100644 --- a/man/post_tweet.Rd +++ b/man/post_tweet.Rd @@ -57,7 +57,7 @@ for more information.} tweet refers to. Range should be between -90 and 90 (north). Note that you should enable the "Precise location" option in your account via \emph{Settings and privacy > Privacy and Safety > Location}. See -\href{https://help.twitter.com/en/safety-and-security/twitter-location-services-for-mobile}{the official Help Center section}.} +\href{https://help.twitter.com/en/safety-and-security/x-location-services-for-mobile}{the official Help Center section}.} \item{long}{A numeric value representing the longitude of the location the tweet refers to. Range should be between -180 and 180 (west). See diff --git a/man/search_fullarchive.Rd b/man/search_fullarchive.Rd index 7982e845..ae912238 100644 --- a/man/search_fullarchive.Rd +++ b/man/search_fullarchive.Rd @@ -70,10 +70,6 @@ saved. If the directory doesn't exist, it will be created. If NULL (the default) then a dir will be created in the current working directory. To override/deactivate safedir set this to FALSE.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} @@ -168,8 +164,5 @@ rt <- search_30day("#rstats", n = 300, env_name = "SetYourLabel", toDate = toDate) } -} -\references{ -Endpoint: \url{https://developer.twitter.com/en/docs/twitter-api/premium/search-api/api-reference/premium-search} } \concept{premium endpoints} diff --git a/man/search_tweets.Rd b/man/search_tweets.Rd index d3868f99..4d960f10 100644 --- a/man/search_tweets.Rd +++ b/man/search_tweets.Rd @@ -84,10 +84,6 @@ find tweets \strong{newer} than \code{since_id}.} \item{max_id}{Supply a vector of ids or a data frame of previous results to find tweets \strong{older} than \code{max_id}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/search_users.Rd b/man/search_users.Rd index dbf729b4..587350b4 100644 --- a/man/search_users.Rd +++ b/man/search_users.Rd @@ -25,10 +25,6 @@ You will get more results if you ask for a number of tweets that's not a multiple of page size, e.g. if you request \code{n = 150} and the page size is 200, you'll get 200 results back.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} diff --git a/man/stream.Rd b/man/stream.Rd index ae6a37d3..8fe2c002 100644 --- a/man/stream.Rd +++ b/man/stream.Rd @@ -55,10 +55,6 @@ are better of changing the default for all calls via \code{\link[=auth_as]{auth_ \item{append}{Append streaming to the file? Default does but it is recommended to have a new file for each call.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{query}{If \code{NULL} returns the current rules, else depending: \itemize{ \item In stream_add_rule it should be a list of value and tag. diff --git a/man/trends_available.Rd b/man/trends_available.Rd index 458bab67..61b49941 100644 --- a/man/trends_available.Rd +++ b/man/trends_available.Rd @@ -10,10 +10,6 @@ trends_available(token = NULL, parse = TRUE) \item{token}{Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See \code{\link[=auth_as]{auth_as()}} for details.} - -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} } \value{ Data frame with WOEID column. WOEID is a Yahoo! Where On diff --git a/man/tweet_counts_recent.Rd b/man/tweet_counts_recent.Rd index 773837a2..f784a5b9 100644 --- a/man/tweet_counts_recent.Rd +++ b/man/tweet_counts_recent.Rd @@ -18,10 +18,6 @@ tweet_counts_all(query, ..., token = NULL, parse = TRUE, verbose = FALSE) \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about the paginated queries (if any) and to store the data of each page.} } diff --git a/man/tweet_get.Rd b/man/tweet_get.Rd index de330885..dc33b4d3 100644 --- a/man/tweet_get.Rd +++ b/man/tweet_get.Rd @@ -29,10 +29,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \item{token}{This endpoint accepts a OAuth2.0 authentication (can be created via \code{\link[=rtweet_oauth2]{rtweet_oauth2()}}) or a bearer token (can be created via \code{\link[=rtweet_app]{rtweet_app()}}).} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about the paginated queries (if any) and to store the data of each page.} } diff --git a/man/tweet_liking_users.Rd b/man/tweet_liking_users.Rd index c47a721f..f657664d 100644 --- a/man/tweet_liking_users.Rd +++ b/man/tweet_liking_users.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/tweet_quoted.Rd b/man/tweet_quoted.Rd index a8c569ae..1036d6b9 100644 --- a/man/tweet_quoted.Rd +++ b/man/tweet_quoted.Rd @@ -32,10 +32,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \item{token}{This endpoint accepts a OAuth2.0 authentication (can be created via \code{\link[=rtweet_oauth2]{rtweet_oauth2()}}) or a bearer token (can be created via \code{\link[=rtweet_app]{rtweet_app()}}).} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about the paginated queries (if any) and to store the data of each page.} } diff --git a/man/tweet_retweeted_by.Rd b/man/tweet_retweeted_by.Rd index 01dd3f22..562bdf59 100644 --- a/man/tweet_retweeted_by.Rd +++ b/man/tweet_retweeted_by.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about the paginated queries (if any) and to store the data of each page.} } diff --git a/man/tweet_search_all.Rd b/man/tweet_search_all.Rd index c67df09f..174431b5 100644 --- a/man/tweet_search_all.Rd +++ b/man/tweet_search_all.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about the paginated queries (if any) and to store the data of each page.} } diff --git a/man/tweet_search_recent.Rd b/man/tweet_search_recent.Rd index a80c6357..1c1bd298 100644 --- a/man/tweet_search_recent.Rd +++ b/man/tweet_search_recent.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about the paginated queries (if any) and to store the data of each page.} } diff --git a/man/user_blocked.Rd b/man/user_blocked.Rd index e0705fd7..dbb355bc 100644 --- a/man/user_blocked.Rd +++ b/man/user_blocked.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_bookmarks.Rd b/man/user_bookmarks.Rd index 1d07af06..8e583992 100644 --- a/man/user_bookmarks.Rd +++ b/man/user_bookmarks.Rd @@ -29,10 +29,6 @@ expansions, or provide a vector with the expansions you want (create it with \item{fields}{Set \code{NULL} to not use any field, get all allowed fields with \code{NA}, provide a list with the fields you want (create it with \code{\link[=set_fields]{set_fields()}}).} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{token}{This endpoint only accept a OAuth2.0 authentication (can be created via \code{\link[=rtweet_oauth2]{rtweet_oauth2()}}).} diff --git a/man/user_by_username.Rd b/man/user_by_username.Rd index 39c39e96..5b03f46c 100644 --- a/man/user_by_username.Rd +++ b/man/user_by_username.Rd @@ -30,10 +30,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_followers.Rd b/man/user_followers.Rd index c66c0781..8619bf1e 100644 --- a/man/user_followers.Rd +++ b/man/user_followers.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_following.Rd b/man/user_following.Rd index 22b3c5fb..10b8fa28 100644 --- a/man/user_following.Rd +++ b/man/user_following.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_liked_tweets.Rd b/man/user_liked_tweets.Rd index 619eee07..6eec927f 100644 --- a/man/user_liked_tweets.Rd +++ b/man/user_liked_tweets.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_list_follows.Rd b/man/user_list_follows.Rd index b6592351..b3d1dcc8 100644 --- a/man/user_list_follows.Rd +++ b/man/user_list_follows.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_lists.Rd b/man/user_lists.Rd index 9fb53894..03bf1a53 100644 --- a/man/user_lists.Rd +++ b/man/user_lists.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_mentions.Rd b/man/user_mentions.Rd index 81dd0fbd..d3d37c99 100644 --- a/man/user_mentions.Rd +++ b/man/user_mentions.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_muted.Rd b/man/user_muted.Rd index c6d62bec..4faedb1c 100644 --- a/man/user_muted.Rd +++ b/man/user_muted.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/user_search.Rd b/man/user_search.Rd index 0bccf104..76a53aa6 100644 --- a/man/user_search.Rd +++ b/man/user_search.Rd @@ -30,10 +30,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/user_self.Rd b/man/user_self.Rd index 3e486f8b..83809e92 100644 --- a/man/user_self.Rd +++ b/man/user_self.Rd @@ -27,10 +27,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \value{ diff --git a/man/user_timeline.Rd b/man/user_timeline.Rd index cfaaf4dd..8fc8b279 100644 --- a/man/user_timeline.Rd +++ b/man/user_timeline.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{ diff --git a/man/user_tweets.Rd b/man/user_tweets.Rd index 6a2ebf09..22969fe2 100644 --- a/man/user_tweets.Rd +++ b/man/user_tweets.Rd @@ -33,10 +33,6 @@ provide a list with the fields you want (create it with \code{\link[=set_fields] \code{\link[=rtweet_app]{rtweet_app()}}). In most cases you are better of changing the default for all calls via \code{\link[=auth_as]{auth_as()}}.} -\item{parse}{If \code{TRUE}, the default, returns a tidy data frame. Use \code{FALSE} -to return the "raw" list corresponding to the JSON returned from the -Twitter API.} - \item{verbose}{A logical value to provide more information about paginated queries.} } \description{