get_places: Search for Google Places in a given area

View source: R/get_places.R

get_placesR Documentation

Search for Google Places in a given area

Description

Search for Google Places in a given area

Usage

get_places(
  location = NULL,
  radius = NULL,
  type = NULL,
  keyword = NULL,
  language = NULL,
  rankby = NULL,
  key = Sys.getenv("GOOGLE_KEY")
)

text_search(
  location,
  query,
  language = NULL,
  key = Sys.getenv("GOOGLE_KEY"),
  ...
)

Arguments

location

A numeric vector of length two with the format of c(lat, long) indicating the center of a circle to search.

radius

The radius of the search circle in meters.

type

A place type to limit the search to. See API docs for valid place types. Only one type may be specified per search.

key

Your Google Places API key.

query

a text based query


JosiahParry/populartimes documentation built on April 18, 2023, 7:07 a.m.