find_categories: Find Beer Categories.

Description Usage Arguments Value

View source: R/find_catagories.R

Description

Find Beer Categories.

Usage

1
find_categories(api_key, id = NULL, name = NULL, 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 providing the BreweryDB ID of a specific beer category.

name

a charater string providing the name of a specific beer category.

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


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