rtweet2.0.0 package

Collecting Twitter Data

post_friendship

Updates friendship notifications and retweet abilities.

post_list

Manage Twitter lists

post_message

Posts direct message from user's Twitter account

as_screenname

Mark a user id as a screen name

auth_as

Set default authentication for the current session

auth_clean

Remove tokens

auth_get

Get the current authentication mechanism

auth_save

Save an authentication mechanism for use in a future session

auth_setup_default

Set up default authentication

auth_sitrep

Twitter Tokens sitrep

bearer_token

Bearer token

clean_tweets

Clean text of tweets

client_as

Set default client for the current session

client_clean

Clean clients

client_get

Get the current client

client_save

Save an authentication mechanism for use in a future session

client_setup_default

Set up default client

create_token

Create custom Twitter OAuth token

direct_messages

Get direct messages sent to and received by the authenticating user fr...

direct_messages_received

(DEPRECATED) Get the most recent direct messages sent to the authentic...

do_call_rbind

Binds list of data frames while preserving attribute (tweets or users)...

emojis

Defunct: Emojis codes and descriptions data.

entity

Extract methods

Expansions

Expansions

Fields

Fields

flatten

flatten/unflatten data frame

get_favorites

Get tweets liked/favorited by one or more users

get_followers

Get user IDs for accounts following target user.

get_friends

Get user IDs of accounts followed by target user(s).

get_mentions

Get mentions for the authenticating user.

get_retweets

Get the most recent retweets/retweeters

get_timeline

Get one or more user timelines

get_token

Fetch Twitter OAuth token

get_trends

Get Twitter trends data.

ids

Extract the ids

invalidate_bearer

Invalidate bearer token

job_compliance

Job compliance

langs

Defunct: Language codes recognized by Twitter data.

lat_lng

Adds single-point latitude and longitude variables to tweets data.

links

Create the links

list_followers

List followers of a specified list

list_get

List information

list_members

List of members from a specified List

list_membership

Lists a specified user is a member of.

list_tweets

Lists tweets of a specified list

lists_members

Get Twitter list members (users on a given list).

lists_memberships

Get Twitter list memberships (lists containing a given user)

lists_statuses

Get a timeline of tweets authored by members of a specified list.

lists_subscribers

Get subscribers of a specified list.

lists_subscriptions

Get list subscriptions of a given user but does not include the user's...

lists_users

Get all lists a specified user subscribes to, including their own.

lookup_collections

Collections API

lookup_coords

Get coordinates of specified location.

lookup_friendships

Lookup friendship information between two specified users.

lookup_tweets

Get tweets data for given statuses (status IDs).

lookup_users

Get Twitter users data for given users (user IDs or screen names).

max_id

Extract min/max id (for id based pagination)

my_friendships

Lookup friendship information between users.

network_data

Network data

next_cursor

Extract cursor (for cursor based pagination)

parse_stream

Parser of stream

plain_tweets

Clean up character vector (tweets) to more of a plain text.

post_destroy

Delete status of user's Twitter account

post_favorite

Favorites target status id.

post_follow

Follows target Twitter user.

post_tweet

Posts status update to user's Twitter account

previous_cursor

Previous cursor

rate_limit

Rate limit helpers

read_twitter_csv

Read comma separated value Twitter data.

retrieve_errors

Expose errors of the response

round_time

A generic function for rounding date and time values

rtweet-deprecated

Deprecated functions in rtweet

rtweet-package

rtweet: Collect Twitter data from R

rtweet_client

Client

rtweet_user

Authentication options

rules

Extract the streaming rules

search_fullarchive

Premium Twitter searches

search_tweets

Get tweets data on statuses identified via search query.

search_users

Search for users

set_fields

Create fields

set_scopes

Scopes of the OAuth2 token

stopwordslangs

Defunct: Twitter stop words in multiple languages data.

stream

Streaming

stream_tweets

Collect a live stream of Twitter data

stream_tweets2

A more robust version of stream_tweets

trends_available

Available Twitter trends along with associated WOEID.

ts_data

Converts tweets data into time series-like data object.

ts_plot

Plots tweets data as a time series-like data object.

tweet_counts_recent

Count tweets

tweet_delete

Delete tweet

tweet_embed

Create a Tweet Embed

tweet_get

Get tweet information

tweet_liking_users

Liking users

tweet_post

Post a tweet

tweet_quoted

Get quoted tweet information

tweet_retweeted_by

Tweet retweeted by

tweet_search_all

Search in the Twitter archive

tweet_search_recent

Search recent tweets

tweet_shot

Capture an image of a tweet/thread

tweet_threading

Collect statuses contained in a thread

tweets_with_users

Parsing data into tweets/users data tibbles

TWIT_paginate_max_id

Pagination

user_block

Blocking or unblocking twitter users

user_blocked

Find users blocked.

user_bookmarks

Retrieve user bookmarks

user_by_username

Search users by username

user_followers

Find followers.

user_following

Find which users are being followed.

user_liked_tweets

Liked tweets from a user

user_list_follows

Lists a specified user follows

user_lists

Search users by username

user_mentions

Tweets mentioning a user

user_muted

List muted users

user_search

Search users

user_self

Tweets from a user

user_timeline

User timeline

user_tweets

Tweets from a user

users_data

Get tweets from users, or users from tweets

write_as_csv

Save Twitter data as a comma separated value file.

An implementation of calls designed to collect and organize Twitter data via Twitter's REST and stream Application Program Interfaces (API), which can be found at the following URL: <https://developer.twitter.com/en/docs>.

  • Maintainer: LluĂ­s Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24