as_geomultistar: As 'geomultistar::geomultistar' object

View source: R/acs_5yr_rolap.R

as_geomultistarR Documentation

As geomultistar::geomultistar object

Description

Obtain an geomultistar::geomultistar object to be able to enrich multidimensional queries with geographic data.

Usage

as_geomultistar(act, attributes)

## S3 method for class 'acs_5yr_topic'
as_geomultistar(act, attributes = NULL)

Arguments

act

An acs_5yr_topic object.

attributes

A string vector.

Details

We can indicate the attributes of the geographic layer to include in the export. Otherwise, the default attributes are included (not area, perimeter or location attributes).

Value

A geomultistar object.

See Also

Other data exploitation and export functions: as_GeoPackage(), as_acs_5yr_geo(), as_flat_table(), as_star_database(), get_metadata(), set_metadata()

Examples


gms <- anrc_2021_x01 |>
  as_geomultistar()


josesamos/geogenr documentation built on May 1, 2024, 2:34 p.m.