list_variables: List the variables in a table

View source: R/list_functions.R

list_variablesR Documentation

List the variables in a table

Description

This function lists the variables that are currently available in a particular table in a component of the IUROPA CJEU Database. You have to specify the code for a component and the name of a table in that component. The values returned by list_components() and list_tables() are the values that are valid for these arguments.

Usage

list_variables(component, table, session = NULL)

Arguments

component

A string. The code for a component. Use list_components() to get a list of valid values.

table

A string. The name of a table in the specified component. Use list_tables() to get a list of valid values.

session

An object of class iuropa_session created by authenticate(). This argument is only required for content that is not yet publicly available.

Value

This function returns a string vector containing the names of the variables in the specified table.

Examples

## Not run: 
data <- list_variables(
  component = "cjeu_database_platform",
  table = "decisions"
)
## End(Not run)


jfjelstul/iuropa documentation built on July 25, 2024, 4:11 p.m.