Learn R Programming

cbsodataR (version 0.3)

download_data-deprecated: Gets all data from a cbs table.

Description

Gets all data via bulk download. download_data dumps the data in (international) csv format.

Usage

download_data(id, path = file.path(id, "data.csv"), ..., select = NULL,
  typed = FALSE, verbose = TRUE, base_url = CBSOPENDATA)

Arguments

id

of cbs open data table

path

of data file, defaults to "<id>/data.csv"

...

optional filter statements to select rows of the data,

select

optional names of columns to be returned.

typed

Should the data automatically be converted into integer and numeric?

verbose

show the underlying downloading of the data

base_url

optionally specify a different server. Useful for third party data services implementing the same protocal.