get_variable_description {rolap}R Documentation

Get variable description

Description

Obtain a description of the variables whose name is indicated. If no name is indicated, all are returned.

Usage

get_variable_description(gl, name, only_values)

## S3 method for class 'geolayer'
get_variable_description(gl, name = NULL, only_values = FALSE)

Arguments

gl

A geolayer object.

name

A string vector.

only_values

A boolean, add names to component values.

Details

Using the parameter only_values, we can obtain only the combination of values or also the combination of names with values.

Value

A string vector.

See Also

Other query functions: as_GeoPackage(), as_geolayer(), filter_dimension(), get_layer(), get_variables(), run_query(), select_dimension(), select_fact(), set_layer(), set_variables(), star_query()

Examples


gl <- mrs_db_geo |>
  as_geolayer()

vd <- gl |>
  get_variable_description()


[Package rolap version 2.5.1 Index]