get_themes: Get list of all cbs thematic entries.

Description Usage Arguments Value Examples

View source: R/get-themes.R

Description

Returns a list of all cbs themes.

Usage

1
2
3
4
5
6
7
get_themes(
  ...,
  select = NULL,
  verbose = TRUE,
  cache = FALSE,
  base_url = getOption("cbsodataR.base_url", BASE_URL)
)

Arguments

...

Use this to add a filter to the query e.g. get_themes(ID=10).

select

character vector with names of wanted properties. default is all

verbose

Print extra messages what is happening.

cache

Should the result be cached?

base_url

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

Value

A data.frame with various properties of SN/CBS themes.

The filter is specified with <column_name> = <values> in which <values> is a character vector. Rows with values that are not part of the character vector are not returned.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# get list of all themes
get_themes()

# get list of all dutch themes from the Catalog "CBS"
get_themes(Language="nl", Catalog="CBS")

## End(Not run)

cbsodataR documentation built on Jan. 13, 2021, 7:30 p.m.