mapzen_references {rmapzen} | R Documentation |
Reference lists
Description
Lists of sources, layers, and countries, as they are expected to appear in
the mz_search
functions. These data objects are provided as a
convenience, to be able to quickly and easily look up acceptable values for
the optional arguments of search functions. Object names match the argument
names for which they are appropriate. So mz_sources
provide acceptable
arguments for the source
argument in mz_search
,
mz_layers
for the layer
argument, and mz_countries
for the boundary.country
argument. Mapzen's documentation
(https://github.com/pelias/documentation/) explains more about
each of these arguments.
Usage
mz_sources
mz_layers
mz_countries
Format
An object of class list
of length 8.
An object of class list
of length 13.
An object of class list
of length 747.
Examples
## Not run:
# look for YMCAs in Jamaica:
# Note that boundary.country is supplied via ISO3166 code,
# but mz_countries will look up the code
mz_search("YMCA",
boundary.country = mz_countries$Jamaica,
layers = c(mz_layers$venue, mz_layers$address))
## End(Not run)
[Package rmapzen version 0.5.1 Index]