ibge.id: Find IBGE code

Description Usage Arguments Value Examples

View source: R/ibgeids.R

Description

The function returns the IBGE code based on state (ex: 'SP', 'MG' ...) or the city name (ex: 'Rio de Janeiro', São Paulo'...)

Usage

1
ibge.id(location)

Arguments

location

string (state or city/county name)

Value

A single line data frame with IBGE code, location name and the estimated population

Examples

1
myId <- ibge.id('SP')

dtiezzi/COVIDBR documentation built on Feb. 17, 2021, 9:46 a.m.