gl_place_details: Google Place ID API

Description Usage Arguments Details Value Examples

View source: R/gl_place_details.R

Description

Slick function to retrieve information from Google Place API

Usage

1
gl_place_details(place_id, key, fields)

Arguments

place_id

Google Place ID

key

API key

fields

fields to retrieve

Details

Available fields are listed in the API Dev Guides https://developers.google.com/places/web-service/details.

Value

A list.

Examples

1
2
3
gl_place_details(
 place_id='ChIJ3wZkgmIbkUcRYEgkDb9IjMY', 
 key=your_api_key, fields='formatted_address,geometry')

sumtxt/gcloud documentation built on Jan. 3, 2021, 12:39 a.m.