tw_status_cols: Get 'rtweet"s status-lookup columns

Description Usage Arguments Value

View source: R/rtweet_extensions.R

Description

Function returns column names of fields in twitter object returned on Twitter API call via the rtweet's lookup_statuses

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
tw_status_cols(status = TRUE, user = TRUE, status.plus = status,
  status.engagements = status, status.entities = status,
  status.entities.hashtags = status.entities,
  status.entities.symbols = status.entities,
  status.entities.urls = status.entities,
  status.entities.media = status.entities, status.reply = status,
  status.quote = status, status.quote.status = status.quote,
  status.quote.user = status.quote, status.retweet = status,
  status.retweet.status = status.retweet,
  status.retweet.user = status.retweet, status.location = status,
  status.location.place = status.location,
  status.location.coords = status.location, user.bio = user,
  user.engagements = user, user.profile = user, user.misc = user)

Arguments

status

column names of main status info (status ID and text, created time)

user

column names of main user info (user ID, screen name and name, and account created time)

status.plus

column names of status meta info

status.engagements

column names of status engagement count fields (No. favorites, retweets, quotes, replies)

status.entities

column names of status entities objects

status.entities.hashtags

column names of status hashtags object

status.entities.symbols

column names of status symbols object

status.entities.urls

column names of status urls object

status.entities.media

column names of status media object

status.reply

column names of status reply object (user ID, status ID, created time)

status.quote

column names of status quote object (user ID, status ID and text, created time)

status.quote.status

column names of additional status-related fields of status quote object

status.quote.user

column names of additional user-related fields of status quote object

status.retweet

column names of status retweet object (user ID, status ID and text, created time)

status.retweet.status

column names of additional status-related fields of status retweet object

status.retweet.user

column names of additional user-related fields of status retweet object

status.location

column names of status' location objects

status.location.place

column names of status' place info

status.location.coords

column names of status' coordination info

user.bio

column names of user account-related fields

user.engagements

column names of user engagement fields

user.profile

column names of user profile-related fields

user.misc

user column names of miscalaneus user info fields

Value

a character vector of column names compatible with the column names of the data frame obejct returned by valid calls to rtweet's lookup_statuses


haukelicht/twscrape documentation built on Jan. 29, 2020, 3:23 p.m.