set_fields: Create fields

View source: R/fields.R

set_fieldsR Documentation

Create fields

Description

Choose which fields are used, by default all are returned. Usually all the first 3 are accepted together and the last two too.

Usage

set_fields(
  media = media_fields,
  poll = poll_fields,
  tweet = tweet_fields,
  place = place_fields,
  user = user_fields,
  list = list_fields
)

Arguments

media

The fields you want from media_fields.

poll

The fields you want from poll_fields.

tweet

The fields you want from tweet_fields.

place

The fields you want from place_fields.

user

The fields you want from user_fields.

list

The fields you want from list_fields.

Value

A list with the fields requested ready to be used in your requests to the API.

See Also

Fields

Examples

set_fields()
set_fields(media = NULL)
set_fields(place = NULL, user = NULL)

rtweet documentation built on Oct. 17, 2023, 1:11 a.m.