Skip to contents

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)

Arguments

gl

A geolayer object.

name

A string vector.

only_values

A boolean, add names to component values.

Value

A string vector.

Details

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

Examples


gl <- mrs_db_geo |>
  as_geolayer()

vd <- gl |>
  get_variable_description()