gaz_rest_records_by_names {mregions2}R Documentation

Get Gazetteer Records for all given names

Description

Get Gazetteer Records for all given names

Usage

gaz_rest_records_by_names(
  names,
  with_geometry = FALSE,
  like = TRUE,
  fuzzy = TRUE
)

Arguments

names

(character) Vector with the terms to search in the Marine Regions Gazetteer

with_geometry

(logical) Add geometry to the result data frame? Default = FALSE

like

(logical) Add a '%'-sign before and after the name? (SQL LIKE function). Default = TRUE

fuzzy

(logical) Use Levenshtein query to find nearest matches? Default = TRUE

Value

A data frame with Gazetteer entries

See Also

gaz_rest, gaz_rest_records_by_name

Examples


gaz_rest_records_by_names(
  c("Belgian Exclusive Economic Zone", "Dutch Exclusive Economic Zone")
)


[Package mregions2 version 1.1.2 Index]