get_censo: Get tabular data from IBGE Census 2010

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_data_functions.R

Description

Download and extract census data from IBGE

Usage

1
2
get_censo(state, datatype = "tabular", mesh = "setores",
  savedir = NULL)

Arguments

state

a string defining the the federation unitie to download data

datatype

a string defining the kind of data to download: "tabular" (default) or "geo"

mesh

a string defining the mesh level to download: "setores" (default) or "municipios"

savedir

a string defining the directory to save the data. It's not mandatory. See details.

Details

get_censo will download and extract IBGE data, keeping files in directory informed on savedir argument. If save dir is not informed, will store them in the temporary folder

Value

IBGE census tabular or geo data

Author(s)

Bruno Pinheiro

Examples

1
2
3
4
5
## Not run: 
get_censo("rr")
clean_tmp()

## End(Not run)

bruno-pinheiro/asha documentation built on May 25, 2019, 2:52 a.m.