business_search: search businesse on yelp

Description Usage Arguments Value Examples

Description

search businesse on yelp

Usage

1
2
business_search(api_key, location = NULL, latitude = NULL,
  longitude = NULL, term = NULL, ...)

Arguments

api_key

string

location

string. Required if either latitude or longitude is not provided. Specifies the combination of "address, neighborhood, city, state or zip, optional country" to be used when searching for businesses

latitude

decimal. Required if location is not provided. Latitude of the location you want to search nearby

longitude

decimal. Required if location is not provided. Longitude of the location you want to search nearby

term

string. Optional search term (e.g. "food", "restaurants"). If term isn’t included we search everything. The term keyword also accepts business names such as "Starbucks"

...

optional paramters More

Value

List with the following elements:

Examples

1
2
3
4
5
# search businesses with keyword 'food' in New York
key <- "######"
business_search(key,
                location = 'New York',
                term = "chinese")

OmaymaS/yelpr documentation built on May 15, 2019, 3:24 p.m.