gaz_rest_relations_by_mrgid: Retrieve Gazetter Relations by MRGID

View source: R/02_gaz_relations.R

gaz_rest_relations_by_mrgidR Documentation

Retrieve Gazetter Relations by MRGID

Description

Retrieve Gazetter Relations by MRGID

Usage

gaz_rest_relations_by_mrgid(
  mrgid,
  with_geometry = FALSE,
  direction = "both",
  type = "all"
)

Arguments

mrgid

(integer) A valid Marine Regions Gazetteer Identifier (MRGID)

with_geometry

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

direction

(character) Must be one of upper, lower, both:

  • upper: lists all parents of the record.

  • lower: lists all childs of the record.

  • both: lists parents and childs of the record (default)

type

(character) Must be one of partof, partlypartof, adjacentto, similarto, administrativepartof, influencedby, all.

Value

A data frame with Gazetteer entries

See Also

List of types (Object Properties), gaz_rest, MRGID

Examples


gaz_rest_relations_by_mrgid(7378)


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