gaz_search_by_type: Retrieve Gazetteer Records by Placetype

View source: R/04_gaz_types.R

gaz_search_by_typeR Documentation

Retrieve Gazetteer Records by Placetype

Description

Retrieve Gazetteer Records by Placetype

Usage

gaz_search_by_type(x, ...)

## S3 method for class 'character'
gaz_search_by_type(x, ...)

## S3 method for class 'numeric'
gaz_search_by_type(x, ...)

Arguments

x

A place type. Either:

  • (character) The name of a place type.

  • (integer) The typeid of a place type.

...

Arguments passed on to gaz_rest_records_by_type

type

(character) The placetype from gaz_rest_types()

with_geometry

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

Value

A data frame with Gazetteer entries

See Also

gaz_types()

Examples


# This
gaz_search_by_type("EEZ")

# is the same as
gaz_search_by_type(70)


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