Skip to contents

Once we have selected the topics that interest us and, possibly also the reports or subreports, we obtain an acs_5yr_geo object with which we can represent or export the geographic layer along with the data of interest more easily.

Usage

as_acs_5yr_geo(act)

# S3 method for acs_5yr_topic
as_acs_5yr_geo(act)

Arguments

act

An acs_5yr_topic object.

Value

An acs_5yr_geo object.

See also

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

Examples


act <- anrc_2021_x01 |>
  select_report(report = "B01002-Median Age By Sex")

geo <- act |>
  as_acs_5yr_geo()