- Support for additional APIs has been added--including APIs designed to return information related to lists and retweets.
- The
post_status()function has been fixed and can now be used to upload media. - Several adjustments have been made in response to various changes in Twitter's APIs.
- Thanks to all the great feedback on Github, numerous bug fixes and improvements have been included as well. In general, things should become a lot more stable across functions and data structures.
- The relatively lightweight tibble package is now a package dependency.
- Speed boosts to parsing process. It's possible to convert from json to data frames in parallel, but I'm not sure minimal gains are worth the headache. Regardless, the current version should return more data, more reliably, and faster.
- By default, functions now return data frames (tibbles) with recursive
lists (e.g., the 3rd observation of
mentions_screen_namemay consist of 4 screen names). - To revert back to the flattened/delim object, use the
flatten()function. Exporting functions such assave_as_csvwill apply flatten by default. - Three different sets of coordinate variables are now returned:
coords_coords,geo_coords, andbbox_coordsbounding box. The first two come in pairs of coords (a list column) and bbox_coords comes with 8 values (longX4 latX4). This should allow users to maximize returns on geo-location data.
- More efficient iterations through pages of results.
- Added to documentation, including new package documentation domain: http://rtweet.info.
- Improvements made in collecting and using geo data.
- Convenience function
plain_tweets()added for textual analysis. - Overhaul of
ts_plot()with improved time-aggregating method. Now a wrapper aroundts_data(), deprecatingts_filter.
- Lots of query-building features added to search tweets, including ability to search by geolocation.
- Post actions now include replying to status ID.
- Other various bug fixes and speed improvements.
- Now returns tibbles (tibble is a recommended dependency)
- Various bug fixes and code improvements.
- Various bug fixes
- Integration with ggplot2 as a suggested dependency
- Fixed bugs with
mutate_coords()andretryonratelimit. - Now returns full text of tweets exceeding 140 characters. This change was necessary due to recent changes in Twitter's API.
- CRAN release featuring major additions to documentation and support in
addition to new and improved functions like
ts_plot(),ts_filter()and more!
- For dev: added package builder for better versioning and more frequent updates to NEWS.md file.
- Added new live streaming vignette as well as updated and improved tokens vignette
- Various bug fixes and improvements to tokens, parse, and plot functions.
- All interactive/posting functions have been modified with the prefix
post_. This was done to clearly distinguish write functions from retrieval functions. - More bug fixes and various improvements.
- The
ts_plot()function is now more robust with more adaptive characteristics for variations in the number of filters, the method of distiguishing lines, the position of the legend, and the aesthetics of the themes. - Added
ts_filter()function which allows users to convert Twitter data into a time series-like data frame. Users may also provide filtering rules with whichts_filter()will subset the data as it converts it to multiple time series, which it then outputs as a long-form (tidy) data frame.
search_tweetsnow includesretryonratelimitargument to allow for searches requesting more than 18,000 tweets. This automates what was previously possible through use ofmax_id.- Various bug fixes and improvements to parsing and pagination- assisting functions.
- Fixed bug in encoding with
stream_tweets.
- Major improvements to ts_plot including SIX different themes from which users may choose
- More parsing fixes and misc stability improvements
- Minor renamig of variables along with returning more variables overall
- Fixes minor problems with
parse.piperfunction - More additions to plotting and data wrangling for the purpose of plotting
- Functions by default use a new faster parser that returns more variables
- Text analysis functions provided for convenience
- Plotting with maps
- Tidyverse consistencies
- Fixed issue with geo tracking in stream_tweets
- Various bug fixes and stability improvements
- Reworked
ts_plotto enable different filtered time series and an aesthetic overhaul of the plot function as well.
- Added
as_doubleargument to provide flexibility in handling id variables (as_double provides performance boost but can create problems when printing and saving, depending on format). By default functions will return IDs as character vectors. - Numerous improvements made to parsing and bug fixes to lookup and search functions.
clean_tweetsargument provided to allow user more control over encoding and handling of non-ascii characters.- Fixed issue with
search_usersand implemented several improvements tostream_tweetsandplot_ts.
- Implemented robust methods to fetch tokens (whether set as
environment variable, .httr-oauth file, or if the tokens exist
in the global environment). Functions now search for variations
in the labeling of tokens---i.e., if your token(s) are saved as
twitter_tokens,twitter_token,tokens, ortoken, rtweet will find it. - Fixed issues with parsing tweets and users data.
- Stability improvements to
search_tweetsandstream_tweeets
- Flattened recursive columns for more reliable parsing and various speed enhancements
- Added built-in, encrypted tokens
- Fixed issues with tweets parsing and reading streams
- Numerous speed improvements
include_retweetsarg added tosearch_tweets()function.user_idclass changed to double when parsed. double is significantly faster and consumes less space. it's also capable of handling the length of id scalars, so the only downside is truncated printing.
- New CRAN version!
- Lots of improvements to stability and entirely new functions to play around with (see previous news updates for more info).
- Added more documentation all round, including help features, examples, and vignette infrastructure.
- Added gzip option for
stream_tweets()
- Added sample method for
stream_tweets()function. By default, the streaming query argument,q, is now set to an empty string,q = "", which returns a random sample of all Tweets (pretty cool, right?).
- Added
post_tweet()function. Users can now post tweets from their R console.
- Added
get_favorites()function - Update tests
- Exports tweets and users classes with show and plot methods
- Added screen_name variable for user mentions (in addition to user_id).
-
Added
lookup_statuses()function, which is the counterpart tolookup_users(). Supply a vector of status IDs and return tweet data for each status.lookup_statuses()is particularly powerful when combined with other methods designed to collect older Tweets. Early experiments with doing this all through R have turned out surprisingly well, but packaging it in a way that makes it easy to do on other machines is unlikely to happen in the short term. -
Removed dplyr dependencies. Everyone should install and use
dplyr, but for sake of parsimony, it's been removed from rtweet. -
Continued development of S4 classes and methods. Given removal of dplyr dependencies, I've started to integrate print/show methods that will limit the number of rows (and width of columns) when printed. Given the amount of data returned in a relatively short period of time, printing entire data frames quickly becomes headache-inducing.
- S4 class and methods integration
-
Added new trends functions. Find what trending locations are available with
trends_available()and/or search for trends worldwide or by geogaphical location usingget_trends(). -
Stability improvements including integration with Travis CI and code analysis via codecov. Token encryption method also means API testing conducted on multiple machines and systems.
- Added new
search_users()function! Search for users by keyword, name, or interest and return data on the first 1000 hits.
-
Output for
search_tweets(),stream_tweets(), andget_timeline()now consists of tweets data and contains users data attribute. -
Output for
lookup_users()now consists of users data and contains tweets data attribute. -
To access users data from a tweets object or vice-versa, use
users_data()andtweets_data()functions on objects outputed by major rtweet retrieval functions. -
Updated testthat tests
-
Output for
get_friends()andget_followers()is now a tibble of "ids". To retrieve next cursor value, use newnext_cursor()function. -
Major stability improvements via testthat tests for every major function.
-
Since previous CRAN release, numerous new features and improvements to functions returning tweets, user data, and ids.
-
Search function now optimized to return more tweets per search.
-
Numerous improvements to stability, error checks, and namespace management.
-
Improvements to
get_friendsandget_followers. Returns list with value (next_cursor) used for next page of results. When this value is 0, all results have been returned. -
Functions
get_friendsandget_followersnow return the list of user ids as a tibble data table, which makes the print out much cleaner.
-
Improved scrolling methods such that
search_tweetsandget_timelineshould return a lot more now -
Added
parserfunction to return status (tweets) AND user (users) data frames when available. As a result, the parsed output for some functions now comes as a list containing two data frames.
-
Added
get_timelinefunction that returns tweets from selected user -
Added vignettes covering tokens and search tweets
-
Fixed issue with
countargument in search and user functions
-
Fixed parsing issue for return objects with omitted variables
-
Added
clean_tweetsconvenience function for text analysis -
More examples included in documentation.
-
Added
recode_errorargument toget_friendsfunction. This is especially useful for tracking networks over time. -
Further integrated
ROAuthmethods/objects to increase compatibility withtwitteRauthorization procedures. -
Improved token checking procedures.
-
Added
NEWS.mdfile -
Added
key featuresand more descriptions toREADME.md.
-
There are now two stable parse (convert json obj to data frame) types. For user objects (e.g., output of
lookup_users), there isparse_user. For tweet objects (e.g., output ofsearch_tweetsorstream_tweets), there isparse_tweets. -
New parse functions are now exported, so they should available for use with compatible Twitter packages or user-defined API request operations.
-
More parsing improvements
-
Added
format_datefunction -
Various stability improvements
- Improvements to parse functions
- Initial release