Learn R Programming

geogenr (version 2.0.1)

as_acs_5yr_geo: Get an acs_5yr_geo object

Description

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)

Value

An acs_5yr_geo object.

Arguments

act

An acs_5yr_topic object.

See Also

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

Examples

Run this code

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

geo <- act |>
  as_acs_5yr_geo()

Run the code above in your browser using DataLab