Download and extract tabular data from ftp://ftp.ibge.gov.br/

get_zip(url, savedir = NULL, junkpaths = TRUE)

Arguments

url

a string defining url of zipped shapfile to get

savedir

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

junkpaths

unzip TRUE/FALSE option to extract all files directily and ignore folders. It's usefull for IBGE data, which ussually have many junkpaths.

Value

extrated files

Details

get_zip will download and extract files

Examples

# NOT RUN {
get_zip()
# }