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

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

# NOT RUN {
geocode(locations = c("Palm Springs", "Bethesda", 10016), limit = 100)
# }