File: Expansions.Rd

package info (click to toggle)
r-cran-rtweet 2.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,068 kB
  • sloc: sh: 13; makefile: 2
file content (50 lines) | stat: -rw-r--r-- 1,265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/expansions.R
\name{Expansions}
\alias{Expansions}
\alias{set_expansions}
\alias{expansions}
\alias{tweet_expansions}
\alias{user_expansions}
\alias{list_expansions}
\title{Expansions}
\usage{
set_expansions(
  tweet = tweet_expansions(),
  user = user_expansions(),
  list = list_expansions()
)

tweet_expansions(attachments = TRUE, referenced_tweets = TRUE)

user_expansions()

list_expansions()
}
\arguments{
\item{tweet, user, list}{\code{\link[=tweet_expansions]{tweet_expansions()}}, \code{\link[=user_expansions]{user_expansions()}} and \code{\link[=tweet_expansions]{tweet_expansions()}}.}

\item{attachments}{Add attachments values? Default yes.}

\item{referenced_tweets}{Add referenced_tweets values? Default yes.}
}
\value{
A character with the characters of valid expansions.
}
\description{
Twitter parameters to add more fields on the returned values.
}
\details{
The \code{set_expansions} can be used to prepare the arguments for other rtweet functions.
}
\examples{
tweet_expansions()
user_expansions()
set_expansions()
}
\references{
\url{https://developer.twitter.com/en/docs/twitter-api/expansions}
}
\seealso{
\link{Fields}, \code{\link[=set_fields]{set_fields()}}
}