get_posts: Retrieve subreddit posts and bring into R

Description Usage Value See Also Examples

View source: R/setup-functions.R

Description

Write more about get_posts() here.

Usage

1
2
3
4
5
6
get_posts(
  subreddit,
  max_posts = 100,
  starting_point = "",
  starting_data = NULL
)

Value

A tibble of subreddit posts and associated metadata

See Also

Read more about OAuth2 authentication for the Reddit API and creating your own appication key.

Examples

1
2
3
4
5
6
## Not run: 

get_posts("education")
get_posts("instructionaldesign", max_posts = 10)

## End(Not run)

bretsw/redditor documentation built on June 11, 2020, 12:15 a.m.