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 | method name |
---|---|
response | content from the geocoder service (returned by the |
full_results | if TRUE then the full results (not just latitude and longitude) will be returned. |
flatten | if TRUE then flatten any nested dataframe content |
geocoder results in tibble format