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

Description Usage Arguments Value Examples

View source: R/getPlace.R

Description

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

Usage

1
2
getPlace(place = NULL, city = "<e5><8c><97><e4><ba><ac>", 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('<e5><a4><a7><e5><ad><a6>', '<e5><8c><97><e4><ba><ac>')
## Mcdonald's in shanghai
sh_mcdonald = getPlace('<e9><ba><a6><e5><bd><93><e5><8a><b3>', '<e4><b8><8a><e6><b5><b7>')

## End(Not run)

badbye/baidumap documentation built on June 4, 2017, 12:12 a.m.