Description Usage Arguments Value See Also
View source: R/results_processing.R
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.
1 2 3 4 5 6 7 | 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
get_api_query query_api geo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.