get_censo.Rd
Download and extract census data from IBGE
get_censo(state, datatype = "tabular", mesh = "setores", savedir = NULL)
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. |
IBGE census tabular or geo data
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
# NOT RUN { get_censo("rr") clean_tmp() # }