R/constants.R

# Base Reddit URL
REDDIT_URL <- "https://www.reddit.com"


# Legal sort parameters when requesting a page by keywords
SORT_KEYWORD_OPTIONS <- c("relevance", "comments", "new", "hot", "top")


# Legal sort parameters when requesting a page without search keywords
SORT_HOMEPAGE_OPTIONS <- c("hot", "new", "top", "rising")


# Legal time bound parameters
PERIOD_OPTIONS <- c("hour", "day", "week", "month", "year", "all")
ivan-rivera/RedditExtractoR documentation built on Sept. 9, 2023, 11:31 a.m.