business_match_name: match business data from other sources against businesses on...

Description Usage Arguments Value Examples

View source: R/yelpr_business_endpoints.R

Description

These endpoints let you match business data from other sources against businesses on Yelp, based on minimal provided information. There are two different ways to do this:

Usage

1
business_match_name(api_key, type = "lookup", name, city, state, country, ...)

Arguments

api_key

string

type

string. 'best match' or 'lookup'

name

string. The name of the business. Maximum length is 64

city

string. The city of the business. Maximum length is 64

state

string. The ISO 3166-2 with a few exceptions state code of this business. Maximum length is 3.

country

string. Required. The ISO 3166-1 alpha-2 country code of this business. Maximum length is 2

...

optional parameters

Value

businesses: List of Yelp businesses matching the inputs

Examples

1
2
3
4
5
6
7
key <- "######"
business_match_name(key, "lookup",
                    name = "Good",
                    city = "San Francisco",
                    state = "CA",
                    country = "US",
                    postal_code = "12345")

OmaymaS/yelpr documentation built on Aug. 28, 2018, 10:11 p.m.