Learn R Programming

rolap (version 2.5.1)

get_variables: Get the variables layer

Description

The variables layer includes the names and description through various fields of the variables contained in the geolayer.

Usage

get_variables(gl)

# S3 method for geolayer get_variables(gl)

Value

A tibble object.

Arguments

gl

A geolayer object.

Details

The way to select the variables we want to work with is to filter this layer and subsequently set it as the object's variables layer using the set_variables() function.

See Also

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

Examples

Run this code

gl <- mrs_db_geo |>
  as_geolayer()

v <- gl |>
  get_variables()

Run the code above in your browser using DataLab