Learn R Programming

openadds (version 0.2.0)

oa_search: Search Openaddresses datasets

Description

Search Openaddresses datasets

Usage

oa_search(country = NULL, state = NULL, city = NULL, ...)

Arguments

country
(characater) Country name
state
(characater) State (or province) name
city
(characater) City name
...
Pass on curl options to HttpClient

Value

a tibble (a data.frame)

Examples

Run this code
## Not run: 
# # return all data in a data.frame
# oa_search()
# 
# # search by various combinations
# oa_search(country = "us")
# oa_search(country = "us", state = "ca")
# oa_search(state = "tx")
# oa_search(city = "houston")
# oa_search("us", "nv", "las_vegas")
# ## End(Not run)

Run the code above in your browser using DataLab