series_estatisticas_carrega_todas_localidades: Returns a 'data.frame' with a given series for all...

View source: R/util.R

series_estatisticas_carrega_todas_localidadesR Documentation

Returns a data.frame with a given series for all localilies. Useful when series' geographic level (nivel) is distinct from 'BR'.

Description

Returns a data.frame with a given series for all localilies. Useful when series' geographic level (nivel) is distinct from 'BR'.

Usage

series_estatisticas_carrega_todas_localidades(
  codigo,
  dir = ".",
  xtraurl = "",
  transpose = FALSE
)

Arguments

codigo

the series code

dir

directory for temporary (cache) files

xtraurl

extra parameter to include in the request URL

transpose

transpose the data.frame

Value

a data.frame

See Also

http://seriesestatisticas.ibge.gov.br/

Examples

## Not run: 
  df <- series_estatisticas_carrega_todas_localidades("PE62_RM_PERC", transpose=T)

## End(Not run)

tbrugz/ribge documentation built on Jan. 10, 2025, 2:53 p.m.