Learn R Programming

cbsodataR (version 0.3)

get_table_list: Retrieve a data.frame with requested cbs tables

Description

get_table_list by default a list of all tables and all columns will be retrieved. You can restrict the query by supplying multiple filter statements or by specifying the columns that should be returned.

Usage

get_table_list(..., select = NULL, base_url = CBSOPENDATA)

Arguments

...

filter statement to select rows, e.g. Language="nl"

select

character columns to be returned, by default all columns will be returned.

base_url

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

Value

data.frame with identifiers, titles and descriptions of tables

Examples

Run this code
# NOT RUN {
# get list of english tables
tables_en <- get_table_list(Language="en")

# get list of dutch tables
tables_nl <- get_table_list(Language="nl")
View(tables_nl)
# }

Run the code above in your browser using DataLab