gaz_search_by_source {mregions2}R Documentation

Retrieve Gazetteer Records by Source

Description

Retrieve Gazetteer Records by Source

Usage

gaz_search_by_source(x, ...)

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

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

Arguments

x

source as free text or sourceID as integer

...

Arguments passed on to gaz_rest_records_by_source

with_geometry

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

Value

A data frame with Gazetteer entries

See Also

gaz_sources()

Examples


# Check out all sources
gaz_sources()

# Look up by source name
gaz_search_by_source("Gazetteer of Greenland")

# Or query by SourceID
gaz_search_by_source(386)


[Package mregions2 version 1.1.1 Index]