Learn R Programming

RedditExtractoR (version 2.1.5)

RedditExtractoR: Reddit Data Extraction Toolkit

Description

Reddit is an online bulletin board and a social networking website where registered users can submit and discuss content. This package uses Reddit API to retrieve comments together will all corresponding attributes from Reddit threads. Note that at this stage, the extraction produces a data frame with a flat structure, i.e. without preserving the order or heirarchy of individuals comments. This may be addressed in the next version of this package. Also note that due to API limitations, the number of comments available for retrieval is limited to 500 per thread.

Arguments

Details

Package: RedditExtractoR
Type: Package
Version: 2.1.0
Date: 2015-06-14
License: GPL-3

The package contains a collection of functions for extracting threads of interest and their corresponding comments, as well as functions for analysing the structure of these threads.

References

https://www.reddit.com/dev/api

See Also

www.reddit.com

Examples

Run this code
# NOT RUN {
example_urls = reddit_urls(search_terms="science")
# }
# NOT RUN {
example_attr = reddit_content(URL="reddit.com/r/gifs/comments/39tzsy/whale_watching")
example_data = get_reddit(search_terms="economy")
# }

Run the code above in your browser using DataLab