define_geoattribute_from_layer {geomultistar}R Documentation

Define an attribute from a layer

Description

Define an attribute from a layer.

Usage

define_geoattribute_from_layer(
  gms,
  dimension = NULL,
  attribute = NULL,
  from_layer = NULL,
  by = NULL
)

Arguments

gms

A geomultistar object.

dimension

A string, dimension name.

attribute

A string, attribute name.

from_layer

A sf object

by

a vector of correspondence of attributes of the dimension with the sf structure.

Value

A geomultistar object.


[Package geomultistar version 1.2.1 Index]