oa_search: Search Openaddresses datasets

Description Usage Arguments Value Examples

View source: R/oa_search.R

Description

Search Openaddresses datasets

Usage

1
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 oa_list() and then to crul::HttpClient() within that function

Value

a tibble (a data.frame)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

sckott/openadds documentation built on March 20, 2021, 9:53 a.m.