| mz_place {rmapzen} | R Documentation |
Get details on a place
Description
Search functions (e.g. mz_search) return identification numbers,
or gids. Use mz_place to retrieve more details about the place.
See https://github.com/pelias/documentation/ for details. This
function is generic, and can take a character vector of IDs, or a
mapzen_geo_list as returned by mz_search and friends.
Usage
mz_place(ids, ..., api_key = NULL)
## S3 method for class 'character'
mz_place(ids, ..., api_key = NULL)
## S3 method for class 'mapzen_geo_list'
mz_place(ids, ..., gid = "gid", api_key = NULL)
Arguments
ids |
A character vector of gids (see details), or a |
... |
Arguments passed on to methods |
api_key |
Your Mapzen API key. The default is to look for the key within the provider information that was set up with 'mz_set_host'. |
gid |
The name of the |
[Package rmapzen version 0.5.1 Index]