The metadata layer includes the names and description through various fields of the variables contained in the reports.
Details
The way to select the variables we want to work with is to filter this layer
and subsequently set it as the object's metadata layer using the set_metadata()
function.
See also
Other data exploitation and export functions:
as_GeoPackage()
,
as_acs_5yr_geo()
,
as_flat_table()
,
as_geomultistar()
,
as_star_database()
,
set_metadata()
Examples
act <- anrc_2021_x01 |>
select_report(report = "B01002-Median Age By Sex")
geo <- act |>
as_acs_5yr_geo()
metadata <- geo |>
get_metadata()