get_page: Get Page Content

Description Usage Arguments Value Examples

Description

Get Page Content

Usage

1
get_page(link, user_agent = NA)

Arguments

link

Character string with the url of the Reddit page from which to extract content.

Value

A character string containing the json data from the Reddit API call

Examples

1
2
3
4
get_page("http://www.reddit.com/")
get_page("http://www.reddit.com/r/politics/")
get_page("https://www.reddit.com/r/funny/comments/4xuzyl/")
get_page("https://www.reddit.com/r/funny/comments/4xuzyl/usain_bolt_celebrating_his_olympic_victory_with/")

bensoltoff/redditR documentation built on May 12, 2019, 2:08 p.m.