- keywords
Required.
Search keywords. Accepts a character vector; each element is queried in turn.
- key
Optional.
AutoNavi API key. You can also set this globally via
`options(amap_key = "your-key")`.
- subdistrict
Optional.
Subordinate administrative depth (0-3). Defaults to the API's behaviour.
- page
Optional.
Page number when multiple pages are available.
- offset
Optional.
Maximum records per page (maximum 20).
- extensions
Optional.
Either `"base"` or `"all"`. Required for polyline data.
- filter
Optional.
Filter by designated administrative divisions (adcode).
- callback
Optional.
JSONP callback. When supplied, the raw response string is returned.
- output
Optional.
Output data structure. Supported values are `"tibble"` (default),
`"JSON"`, and `"XML"`.
- keep_bad_request
Optional.
When `TRUE` (default) API errors are converted into placeholder rows so that
batched workflows continue. When `FALSE` errors are raised as
`amap_api_error` conditions.
- include_polyline
Optional.
When `TRUE`, and when the request is made with `extensions = "all"`,
polyline strings are included in the parsed output.
- ...
Optional.
Included for forward compatibility only.