get_geocode: get geocode

Description Usage Arguments Value Author(s) Examples

View source: R/getgeocode.R

Description

Get Foodie and Nightlife Index, list of popular cuisines and nearby restaurants around the given coordinates

Usage

1
get_geocode(key = NULL, lat = NULL, lon = NULL)

Arguments

key

API key, string

lat

latitude, double

lon

longitude, double

Value

dataframe id (integer, optional): ID of the restaurant name (string, optional): Name of the restaurant url (string, optional): URL of the restaurant page location (ResLocation, optional): Restaurant location details average_cost_for_two (integer, optional): Average price of a meal for two people price_range (integer, optional): Price bracket of the restaurant (1 being pocket friendly and 4 being the costliest) currency (string, optional): Local currency symbol; to be used with price thumb (string, optional): URL of the low resolution header image of restaurant featured_image (string, optional): URL of the high resolution header image of restaurant photos_url (string, optional): URL of the restaurant's photos page menu_url (string, optional): URL of the restaurant's menu page events_url (string, optional): URL of the restaurant's events page user_rating (UserRating, optional): Restaurant rating details has_online_delivery (boolean, optional): Whether the restaurant has online delivery enabled or not is_delivering_now (boolean, optional): Valid only if has_online_delivery = 1; whether the restaurant is accepting online orders right now has_table_booking (boolean, optional): Whether the restaurant has table reservation enabled or not deeplink (string, optional): Short URL of the restaurant page; for use in apps or social shares cuisines (string, optional): List of cuisines served at the restaurant in csv format all_reviews_count (integer, optional): [Partner access] Number of reviews for the restaurant photo_count (integer, optional): [Partner access] Total number of photos for the restaurant, at max 10 photos for partner access phone_numbers (string, optional): [Partner access] Restaurant's contact numbers in csv format photos (Array[Photo], optional): [Partner access] List of restaurant photos all_reviews (Array[Review], optional): [Partner access] List of restaurant reviews

Author(s)

Huazi Li <632473742@qq.com>

Examples

1
get_geocode("testkey",1.2,2.3)

yitang310/zomator documentation built on Feb. 11, 2020, 2:39 a.m.