getCidades: get list of cities.

View source: R/utility_tools.R

getCidadesR Documentation

get list of cities.

Description

consult database to get list of cities for regional, macroregional or uf.

Usage

getCidades(regional, macroregional, uf, datasource = con)

Arguments

regional

full name of the regional. Use getRegionais() to obtain the correct spelling.

macroregional

full name of the macroregional.

uf

full name of the state.

datasource

name of the database

Value

vector with names of the cities.

Examples

getCidades(regional = "Metropolitana I", uf="Rio de Janeiro")
getCidades(uf="Acre")
getCidades(uf="Maranhão", macroregional = "NORTE")

AlertaDengue/AlertTools documentation built on Nov. 27, 2024, 11:55 p.m.