geocode: Location geocoder

Description Usage Arguments Value Examples

View source: R/aws.R

Description

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

Usage

1
2
3
geocode(locations = NULL, search_types = c("neighborhood", "city",
  "county", "postal_code", "address", "building", "street", "school"),
  limit = 100, 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

limit

numeric vector of results cannot exceed 100

return_message

if TRUE returns a message

...

extra parameters

Value

a tibble

Examples

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

abresler/realtR documentation built on Feb. 19, 2019, 9:32 p.m.