Learn R Programming

rolap (version 2.5.1)

get_variable_description: 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 geolayer get_variable_description(gl, name = NULL, only_values = FALSE)

Value

A string vector.

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.

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

Run this code

gl <- mrs_db_geo |>
  as_geolayer()

vd <- gl |>
  get_variable_description()

Run the code above in your browser using DataLab