get_500: get_500

Description Usage Arguments Value Examples

Description

This function takes an epoch time and a subreddit name and returns the titles of the 500 posts to that subreddit before the time. It also returns the time (epoch) of the last post scraped

Usage

1
get_500(time, subreddit)

Arguments

time

Epoch time for the scraping to begin

subreddit

A valid subreddit name

Value

The titles of the 500 post previous to the input time of the subreddit.

Examples

1
2
3
4
subreddit <- "rabbits"
times <- 1558699200   #24/05/2019 12:00:00 pm in epoch time

titles <- get_500(times,subreddit)

JoshuaBean/RedditText documentation built on June 7, 2019, 2:35 p.m.