| mn_sources | R Documentation |
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.
mn_sources(layer = NULL)
mn_citation(layers = "admin")
layer, layers |
Layer ids, such as |
Please credit the data providers when you publish maps. Most layers are under licences that require attribution (CC BY, ODbL).
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.
Other data sources and cache:
mn_cache_dir()
mn_sources()
mn_citation(c("admin", "khoroos"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.