getPlace: Get place from query Take in query and city, return the...

Description Usage Arguments Value Examples

Description

Get place from query Take in query and city, return the informations

Usage

1
2
getPlace(place = NULL, city = "北京", page_size = 20, pages = Inf,
  scope = 1, verbose = TRUE)

Arguments

place

the place you want to search

city

define the city

Value

a data frame contains name, longtitude, latitude and address, as well as teleplhone number, if exist.

Examples

1
2
3
4
5
6
7
## Not run: 
## colleges in beijing
bj_college = getPlace('大学', '北京')
## Mcdonald's in shanghai
sh_mcdonald = getPlace('麦当劳', '上海')

## End(Not run)

badbye/baidumap documentation built on May 11, 2019, 5:24 p.m.