get_zip: Get tabular data from IBGE

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_data_functions.R

Description

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

Usage

1
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.

Details

get_zip will download and extract files

Value

extrated files

Author(s)

Bruno Pinheiro

Examples

1
2
3
4
## Not run: 
get_zip()

## End(Not run)

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