Learn R Programming

cbsodataR (version 1.1)

cbs_get_catalogs: Retrieves the possible catalog values that can be used for retrieving data

Description

Retrieves the possible catalog values that can be used for retrieving data

Usage

cbs_get_catalogs(..., base_url = BASE_URL)

Arguments

...

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

base_url

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

Examples

Run this code
if (interactive()){
  catalogs <- cbs_get_catalogs()

  # Identifier of catalog can be used to query
  print(catalogs$Identifier)
  
  ds_rivm <- cbs_get_datasets(catalog = "RIVM")
  ds_rivm[1:5, c("Identifier","ShortTitle")]
}

Run the code above in your browser using DataLab