Learn R Programming

geogenr (version 2.0.1)

as_flat_table: As rolap::flat_table object

Description

Obtain an rolap::flat_table object to be able to modify the data or integrate it with other data.

Usage

as_flat_table(act, attributes)

# S3 method for acs_5yr_topic as_flat_table(act, attributes = NULL)

Value

A flat_table object.

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).

See Also

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

Examples

Run this code

ft <- anrc_2021_x01 |>
  as_flat_table()

Run the code above in your browser using DataLab