mn_sources: Data sources, licences and citations

View source: R/sources.R

mn_sourcesR Documentation

Data sources, licences and citations

Description

mn_sources() lists every data layer in the package: who provides it, under which licence, whether it ships with the package or is downloaded, and how current it is. mn_citation() returns the attribution text to put under a map; mn_map() adds it as a caption automatically.

Usage

mn_sources(layer = NULL)

mn_citation(layers = "admin")

Arguments

layer, layers

Layer ids, such as "admin", "khoroos" or "settlements". NULL lists all layers.

Details

Please credit the data providers when you publish maps. Most layers are under licences that require attribution (CC BY, ODbL).

Value

mn_sources(): a tibble with columns id, title, group, delivery ("bundled", "release" or "upstream"), provider, license, license_url, valid_on, source_url, attribution and notes. mn_citation(): a single string.

See Also

Other data sources and cache: mn_cache_dir()

Examples

mn_sources()
mn_citation(c("admin", "khoroos"))

mongolmaps documentation built on Oct. 10, 2026, 5:08 p.m.