rolap::star_database
objectObtain an rolap::star_database
object to be able to export it to a RDBMS and
make queries with other tools.
as_star_database(act, attributes)# S3 method for acs_5yr_topic
as_star_database(act, attributes = NULL)
A star_database
object.
An acs_5yr_topic
object.
A string vector.
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).
Other data exploitation and export functions:
as_GeoPackage()
,
as_acs_5yr_geo()
,
as_flat_table()
,
as_geomultistar()
,
get_metadata()
,
set_metadata()
st <- anrc_2021_x01 |>
as_star_database()
Run the code above in your browser using DataLab