geocode: Location geocoder

View source: R/aws.R

geocodeR Documentation

Location geocoder

Description

This function geocodes a users vector of locations and returns a tibble with the corresponding results

Usage

geocode(
  locations = NULL,
  search_types = c("neighborhood", "city", "county", "postal_code", "address",
    "building", "street", "school"),
  use_future = F,
  snake_names = F,
  limit = 100,
  remove_list_columns = F,
  return_message = TRUE,
  ...
)

Arguments

locations

vector of locations

search_types

vector of search parameters options include

  • neighborhood - includes neighborhood information

  • city - includes city information

  • county - includes county information

  • postal_code - includes zipcode

  • building - include building info

  • street - include street info

  • school - include school info

use_future
snake_names
limit

numeric vector of results cannot exceed 100

remove_list_columns
return_message

if TRUE returns a message

...

extra parameters

Value

a tibble

Examples

geocode(locations = c("Palm Springs", "Bethesda", 10016), limit = 100)

abresler/realtR documentation built on July 30, 2023, 2:39 p.m.