browseDataList: Search Eurostat datasets and see the result as a table in a...

View source: R/core_search.R

browseDataListR Documentation

Search Eurostat datasets and see the result as a table in a browser

Description

Search Eurostat datasets and see the result as a table in a browser

Usage

browseDataList(subs)

Arguments

subs

An expression to be passed to subset. The column names of the table of datasets can be used – those with spaces should be backtick (') quoted. See the examples below. The names of the available columns are:

  • `Data subgroup, level 0`

  • `Data subgroup, level 1`

  • `Data subgroup, level 2`

  • `Data subgroup, level 3`

  • `Data subgroup, level 4`

  • `Data subgroup, level 5`

  • `Data subgroup, level 6`

  • `Data subgroup, level 7`

  • `Dataset name`

  • `Code`

  • `Type`

  • `Last update of data`

  • `Last table structure change`

  • `Data start`

  • `Data end`

  • `Link`

Value

  • Side effect (via print) – a table opened in a browser via browseURL.

  • Value – a list with:

    • criteria – a string, search criteria,

    • time – the time of the query,

    • df – a data.frame, imported via importDataList and filtered based on the conditions specified in subs.

    • html – a string, with the HTML code that generated the table in a browser.

Examples

## Not run: 
browseDataList(grepl('servic',`Dataset name`))
browseDataList(grepl('bop',Code) & !grepl('its',Code))

## End(Not run)
## Not run: 
browseDataList(grepl('GDP',`Dataset name`) &
grepl('main',`Dataset name`) &
   grepl('international',`Dataset name`) &
   !grepl('quarterly',`Dataset name`))
browseDataList(grepl('bop',Code) & grepl('its',Code))

## End(Not run)

alekrutkowski/eurodata documentation built on Nov. 20, 2024, 10:17 p.m.