gaz_rest_records_by_names: Get Gazetteer Records for all given names

View source: R/01_gaz_search.R

gaz_rest_records_by_namesR 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")
)


lifewatch/mregions2 documentation built on April 17, 2025, 10:40 a.m.