Learn R Programming

rfbCNPJ (version 0.1.1)

rfb_download: Download RFB files

Description

Downloads RFB fixed width files from selected UFs.

Usage

rfb_download(ufs = NULL, path, verbose = TRUE)

Arguments

ufs

character vector of UFs to download. If NULL (default), downloads all UFs.

path

path to download the files.

verbose

print status messages

Value

character vector containing full paths of downloaded files.

This function needs internet connection. It does not overwrite existing files.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
rfb_download("AC", path = file.path(tempdir(), "txt_files"))
rfb_download(c("AC", "RR"), path = file.path(tempdir(), "txt_files"))
# }

Run the code above in your browser using DataLab