list_tables: List the tables in a component

View source: R/list_functions.R

list_tablesR Documentation

List the tables in a component

Description

This function lists the tables that are currently available in a particular component of the IUROPA CJEU Database. You have to specify the code for a component. The values returned by list_components() are the values that are valid for this argument. A number of functions in the iuropa package have a tables argument. The values returned by list_tables() are the values that are valid for this argument.

Usage

list_tables(component, session = NULL)

Arguments

component

A string. The code for a component. Use list_components() 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 tables in the specified component.

Examples

## Not run: 
data <- list_tables(
  component = "cjeu_database_platform"
)
## End(Not run)


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