Description Usage Arguments Value See Also Examples
View source: R/query_factory.R
The geocoder API query is created using universal "generic" parameters and optional api-specific "custom" parameters. Generic parameters are converted into api parameters using the api_parameter_reference dataset.
The query_api function executes the queries created by this function.
1 | get_api_query(method, generic_parameters = list(), custom_parameters = list())
|
method |
method name (ie. 'census') |
generic_parameters |
universal 'generic' parameters |
custom_parameters |
custom api-specific parameters |
API parameters as a named list
query_api api_parameter_reference geo reverse_geo
1 2 3 4 | get_api_query("osm", list(address = 'Hanoi, Vietnam'))
get_api_query("census", list(street = '11 Wall St', city = "NY", state = 'NY'),
list(benchmark = "Public_AR_Census2010"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.