Skip to contents

This function retrieves the zones data from the specified data directory. It can retrieve either "distritos" or "municipios" zones data.

Usage

get_zones(data_dir = get_data_dir(), type = "distritos")

Arguments

data_dir

The directory where the data is stored.

type

The type of zones data to retrieve ("distritos" or "municipios").

Value

A spatial object containing the zones data.

Examples

if (FALSE) {
zones = get_zones()
}