atlas: Find Spanish towns on a map

Description Usage Arguments Value Examples

View source: R/atlas.R

Description

Renders a map plotting all the towns of x. Their official names and a list with further information can be accessed by hovering and clicking on the markers, respectively.

Usage

1
atlas(x, division = "provincia")

Arguments

x

A character or an integer vector with the names or the codes of the Spanish divisions to map.

division

The type of territorial division in x: "municipio", "provincia" or "ccaa".

Value

A HTML widget object, see leaflet.

Examples

1
atlas("Navarra")

GuillermoNasarre/limpyr documentation built on Dec. 17, 2021, 10:25 p.m.