extract_reverse_results: Extract reverse geocoding results

Description Usage Arguments Value See Also

View source: R/results_processing.R

Description

Parses the output of the query_api function for reverse geoocoding. The address is extracted into the first column of the returned dataframe. This function is not used for batch geocoded results. Refer to query_api for example usage.

Usage

1
2
3
4
5
6
7
extract_reverse_results(
  method,
  response,
  full_results = TRUE,
  flatten = TRUE,
  limit = 1
)

Arguments

method

method name

response

content from the geocoding service (returned by the query_api function)

full_results

if TRUE then the full results (not just an address column) will be returned.

flatten

if TRUE then flatten any nested dataframe content

limit

only used for the "google" method(s). Limits number of results per coordinate.

Value

geocoding results in tibble format

See Also

get_api_query query_api reverse_geo


tidygeocoder documentation built on Nov. 3, 2021, 1:08 a.m.