Learn R Programming

meme (version 0.1.0)

get_memes: Get memes

Description

Get memes from a site

Usage

get_memes(site = "memegenerator", type = NULL, query = NULL, ...)

Arguments

site
The site used to generate the meme. This is set by default if template is an object of class “meme_template”. One of “imgflip”, “memegenerator” (the default, only currently supported), “memecaptain”, or “imgur”.
type
If site is “memegenerator”, optionally one of “new”, “popular” (the implicit default), “trending”, or “topic” to return a different subset of template images. For “trending” and “topic”, query should specify an image name or search term, respectively.
query
When site is “memegenerator” and type is “trending” or “topic”, query should specify an image name or search term, respectively.
...
Additional arguments to curlPerform.

Value

“meme”.

Details

A function to retrieve memes from the specified site. Currently only memegenerator is supported.

See Also

get_templates

create_meme

Examples

Run this code
## Not run: 
# # use memegenerator
# get_memes("memegenerator")
# ## End(Not run)

Run the code above in your browser using DataLab