Learn R Programming

udapi (version 0.1.3)

get_term: Retrieve Urban Dictionary definitions for a term

Description

get_term gets definitions for a specific term from Urban Dictionary, along with associated metadata such as the submitter, up- and down-votes, and a permalink.

Usage

get_term(term, ...)

Arguments

term

the term to search for.

...

further arguments to pass to httr's GET function.

See Also

random_term for retrieving a set of random definitions for random terms.

Examples

Run this code
# NOT RUN {
# Simple example - retrieve the entry for "friendly fade"
fade_definitions <- get_term("friendly fade")

# }

Run the code above in your browser using DataLab