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 )
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 latitude and longitude) will be returned. |
flatten | if TRUE then flatten any nested dataframe content |
limit | only used for "census" and "google" methods. Limits number of results per address. |
geocoding results in tibble format