categories: Describe category alias

Description Usage Arguments Value References Examples

View source: R/categories.R

Description

Provides detailed information about a category alias.

Usage

1
2
categories(alias, locale = get_yelp_locale(),
  access_token = Sys.getenv("YELP_ACCESS_TOKEN", NA))

Arguments

alias

An alias for a search category, chosen from SUPPORTED_CATEGORY_ALIASES.

locale

A string naming the locale. See SUPPORTED_LOCALES for allowed values.

access_token

A string giving an access token to authenticate the API call. See get_access_token.

Value

A data frame with 1 row and 5 columns.

References

https://www.yelp.com/developers/documentation/v3/category

Examples

1
2
3
## Marked as don't test because an access token is needed
categories("barcrawl")
categories("drug")

richierocks/yelp documentation built on Oct. 17, 2018, 2:21 a.m.