GoogleNearbySearch: Search in Google Maps Nearby an Specific Location

Description Usage Arguments Value Author(s) Examples

Description

Creates a data.frame object with the output of a query in Google Maps of places of given types nearby a given location.

User must have a valid API key from Google Places API Web Service to make this function work. For more information go to: https://developers.google.com/places/web-service

Usage

1
GoogleNearbySearch(query, lat, lon, radius, apikey)

Arguments

query

Is a string object with an specific query as it would be ask in the search bar of Google Maps.

lat

Latitude coordinate of the specific place where to find the query nearby.

lon

Longitude coordinate of the specific place where to find the query nearby.

radius

Radius of search in meters. How nearby lat and lon should we search for query?

apikey

Your API Key from https://developers.google.com/places/web-service

Value

This function returns a data.frame object with the search results of query nearby lat and lon within radius

Author(s)

Esteban Lopez

Examples

1
mysearch<-GoogleNearbySearch(query="korean food",lat=40.107336,lon=-88.226110,radius=500,apikey="yourAPIkeyhere")

estebanlp/GoogleDataSearch documentation built on May 16, 2019, 8:52 a.m.