Skip to contents

Query address code

Usage

tidy_address(
  x,
  city = NULL,
  unique = TRUE,
  cache_dir = "~/.cache_tidy_address",
  cache_refresh = FALSE,
  sleep = 0.05
)

Arguments

x

A string vector that describe the address.

city

City that address x belongs to.

unique

Logical value for multiple output or not.

cache_dir

Cache directory of the returned address.

cache_refresh

Logical value for clean cache or not.

sleep

Waiting time for query api.

Value

Data frame contains formatted address information.