Description Usage Arguments Value References Examples
View source: R/business-match.R
Find a business, when you have precise info like name and address.
| 1 2 3 4 5 | 
| name | A string giving the name of the business. | 
| city | A string giving the city where the business is located. | 
| state | A string giving the ISO 3166-2 state code where the business is
located. See  | 
| country | A string giving the ISO 3166-2 country code where the business
is located. See  | 
| address1 | A string giving the address where the business is located.
Optional, but strongly recommended, especially when using
 | 
| address2 | A string giving the address where the business is located. | 
| address3 | A string giving the address where the business is located. | 
| latitude | A number representing the latitude to search close to. | 
| longitude | A number representing the longitude to search close to. | 
| phone | A string representing a phone number. This should include the country code and consist of a plus sign followed by only digits, for example "+1234567890". | 
| zip_code | A string giving the zip or postal code where the business is located. | 
| yelp_business_id | A string describing the Yelp ID of a business, as returned by
 | 
| match_threshold | By default, matches are filtered rather strictly.
If you don't get any results, try setting this to  | 
| access_token | A string giving an access token to authenticate the API
call. See  | 
A data frame with 13 columns. Each row corresponds to one business.
https://www.yelp.com/developers/documentation/v3/business_match
| 1 2 3 | ## Marked as don't test because an access token is needed
walmart <- business_match("Walmart", "Albany", "NY", "US", "Washington Ave")
if(interactive()) View(walmart) else str(walmart)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.