Description Usage Arguments Value
Search Reddit
1 2 3 4 5 6 | search_reddit(
search,
max_results = 50,
sort_by = "relevance",
posts_from = "all"
)
|
search |
character string, search query passed to reddit |
max_results |
numeric, maximum number of reddit results, max is 100 |
sort_by |
character string, one of reddit's sorting algorithms e.g 'new', 'comments', 'relevance', 'hot', 'top' |
posts_from |
character string, filter post based on when they were posted, one of: "hour", "day", "week", "month", "year", "all" |
data frame with post title, url, number of comments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.