Download a table from statistics Netherlands

Share:

Description

Download a table from statistics Netherlands

Usage

1
download_table(id, ..., dir = id, cache = FALSE, base_url = CBSOPENDATA)

Arguments

id

Identifier of CBS table (can be retrieved from get_table_list)

...

Parameters passed on to download_data

dir

Directory where table should be downloaded

cache

If metadata is cached use that, otherwise download meta data

base_url

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

download_table retrieves all raw meta data and data and stores these as csv files in the directory specified by dir. It is possible to add a filter. A 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
## Not run: 

# download meta data and data from inflation/Consumer Price Indices
 download_table(id="7196ENG")

## End(Not run)