withUsers: Add User Information to Tweet-Dataframe

Description Usage Arguments Value Examples

View source: R/getData.R

Description

Add User Information to Tweet-Dataframe

Usage

1
withUsers(res, tweets, tz = "UTC", allcols = FALSE)

Arguments

res

A resource, retrieved by twitter_fas().

tweets

The tweets-dataframe, as returned by getTweets()

tz

The time zone, with which the created at columns should be formatted.

allcols

(logical) if TRUE, all columns will be added, resulting in a larger number of rows that get returned. If FALSE, only id, username, created_at and verfication status is returnded. Defaults to FALSE.

Value

A data frame, actually with the length of the tweets-data, with user-information added.

Examples

1
2

mittendo/twitteRacademic documentation built on April 10, 2021, 4:37 p.m.