Parses the output of the query_api
function.
Latitude and longitude are extracted into the first two columns
of the returned dataframe. This function is not used for batch
geocoded results. Refer to query_api
for example
usage.
extract_results(method, response, full_results = TRUE, flatten = TRUE)
method name
content from the geocoder 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
geocoder results in tibble format