powered by
Get place from query Take in query and city, return the informations
getPlace(place = NULL, city = "", page_size = 20, pages = Inf, scope = 1, verbose = TRUE)
the place you want to search
define the city
a data frame contains name, longtitude, latitude and address, as well as teleplhone number, if exist.
# NOT RUN { ## colleges in beijing bj_college = getPlace('<U+5927><U+5B66>', '<U+5317><U+4EAC>') ## Mcdonald's in shanghai sh_mcdonald = getPlace('<U+9EA6><U+5F53><U+52B3>', '<U+4E0A><U+6D77>') # }
Run the code above in your browser using DataLab