Skip to contents

Select the subreports whose names are indicated. We reduce the available subreports and variables to those of the selected subreports.

Usage

select_subreport(act, subreport)

# S3 method for acs_5yr_topic
select_subreport(act, subreport = NULL)

Arguments

act

An acs_5yr_topic object.

subreport

A string vector, subreport names.

Value

A vector, topic name.

Examples


act2 <- anrc_2021_x01 |>
  select_subreport(
    c(
      "B01002-B-Median Age By Sex (Black Or African American Alone)",
      "B01002-C-Median Age By Sex (American Indian And Alaska Native Alone)"
    )
  )