find_beer_ingredients: Find ingridents used to make a beer.

Description Usage Arguments Value Examples

View source: R/find_beer_ingredients.R

Description

Find ingridents used to make a beer.

Usage

1
find_beer_ingredients(api_key, id, data_frame = TRUE)

Arguments

api_key

a charater string containing a BreweryDB API key. See http://www.brewerydb.com/developers to obtain an API key.

id

a character string containing a beer id.

data_frame

a logical argument indicating if the function should return a data frame. Defaults to TRUE.

Value

By default the function returns a data frame. If data_frame = FALSE the function returns a list of responses - 1 for each page of results - created by GET

Examples

1
2
# Do Not Run
# find_beer_ingredients(key, id = 'WHQisc')

warlicks/beeR documentation built on May 28, 2019, 7:53 a.m.