get_geoattributes: Get geoattributes

View source: R/geoattribute.R

get_geoattributesR Documentation

Get geoattributes

Description

For each dimension, get a list of available geoattributes.

Usage

get_geoattributes(db)

## S3 method for class 'star_database'
get_geoattributes(db)

Arguments

db

A star_database object.

Value

A list of dimension geoattributes.

See Also

Other star database geographic attributes: check_geoattribute_geometry(), define_geoattribute(), get_geoattribute_geometries(), get_layer_geometry(), get_point_geometry(), summarize_layer()

Examples


db <- mrs_db |>
  define_geoattribute(
    dimension = "where",
    attribute = "state",
    from_layer = us_layer_state,
    by = "STUSPS"
  )

attributes <- db |>
    get_geoattributes()


rolap documentation built on May 29, 2024, 10:38 a.m.