Parses the output of the query_api function for single address geocoding (ie. not batch geocoding). Latitude and longitude are extracted into the first two columns of the returned dataframe. Refer to query_api for example usage.
extract_results(
method,
response,
full_results = TRUE,
flatten = TRUE,
limit = 1
)
geocoding results in tibble format
method name
content from the geocoding service (returned by the query_api function)
if TRUE then the full results (not just latitude and longitude) will be returned.
if TRUE then flatten any nested dataframe content
only used for "census" and "google" methods. Limits number of results per address.
get_api_query query_api geo