as_openadd(country = NULL, state = NULL, city = NULL, ...)
Arguments
country
(characater) Country name
state
(characater) State (or province) name
city
(characater) City name
...
ignored
Value
an object of class openadd
Details
This is a helper function to let the user specify what they want
with any combination of country, state, and city - the output of which
can be passed to oa_get to get data.
If your search results in more than 1 result, we stop with message to
refine your search.
## Not run: # as_openadd(country="us", state="nv", city="las_vegas")# # # too coarse, will ask you to refine your search# # as_openadd(country="us", state="mi", city="detroit")# ## End(Not run)