clean_posts: Clean and shape subreddit data

Description Usage Value See Also Examples

View source: R/setup-functions.R

Description

Write more about clean_posts() here.

Usage

1

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
7
## Not run: 

example_posts <- get_posts("education")
example_posts <- clean_posts(example_posts)
min(example_posts$post_date_time)  # Returns date-time of most recent post

## End(Not run)

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