File: set_fields.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 (44 lines) | stat: -rw-r--r-- 1,020 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fields.R
\name{set_fields}
\alias{set_fields}
\title{Create fields}
\usage{
set_fields(
  media = media_fields,
  poll = poll_fields,
  tweet = tweet_fields,
  place = place_fields,
  user = user_fields,
  list = list_fields
)
}
\arguments{
\item{media}{The fields you want from \code{media_fields}.}

\item{poll}{The fields you want from \code{poll_fields}.}

\item{tweet}{The fields you want from \code{tweet_fields}.}

\item{place}{The fields you want from \code{place_fields}.}

\item{user}{The fields you want from \code{user_fields}.}

\item{list}{The fields you want from \code{list_fields}.}
}
\value{
A list with the fields requested ready to be used in your requests to
the API.
}
\description{
Choose which fields are used, by default all are returned. Usually all
the first 3 are accepted together and the last two too.
}
\examples{
set_fields()
set_fields(media = NULL)
set_fields(place = NULL, user = NULL)
}
\seealso{
Fields
}