download.catalog: Bulk download the whole data catalog

Description Usage Arguments Value Author(s) Examples

View source: R/rWBData.R

Description

This func

Usage

1
download.catalog(dIndex, saveFile = FALSE, type = "all")

Arguments

dIndex

A numerical value to represent catalog ID, see available.catalogs().

saveFile

TRUE/FALSE; TRUE means this function will automatically download the file and return the file url, FALSE means this function will only return the file url.

type

A character to specify which type of file to be download if available. Currently support "csv, "xls"(or "excel"), "pdf", "zip", "xml, and "json". Choose "all" to download all possible file (may get same result in different format).

Value

This function will return a (vector of) character to represent the url(s) of the data catalog.

Author(s)

Ming-Jer Lee <mingjerli@gmail.com>

Examples

1
2

mingjerli/rWBData documentation built on May 22, 2019, 11:54 p.m.