R/Collect.reddit.R, R/wrappers.R
Collect.reddit.RdCollects comments made by users on one or more specified subreddit conversation threads and structures
the data into a dataframe with the class names "datasource" and "reddit".
A credential object generated from Authenticate with class name "reddit".
Character vector. Reddit thread urls to collect data from.
Numeric vector. Time range in seconds to select random wait from in-between url collection requests.
Minimum is 3 seconds. Default is c(3, 5) for a wait time chosen from between 3 and 5 seconds.
Character string. Override User-Agent string to use in Reddit thread requests. Default is
option("HTTPUserAgent") value as set by vosonSML.
Logical. Write collected data to file. Default is FALSE.
Logical. Output additional information about the data collection. Default is TRUE.
Additional parameters passed to function. Not used in this method.
A tibble object with class names "datasource" and "reddit".
The reddit web endpoint used for collection has maximum limit of 500 comments per thread url.