Skip to contents

Each topic includes several reports and subreports. Once a topic has been selected, using this function we obtain the name of the available subreports of a report. If no report is indicated, all subreports of the topic are obtained.

Usage

get_subreport_names(act, report)

# S3 method for acs_5yr_topic
get_subreport_names(act, report = NULL)

Arguments

act

An acs_5yr_topic object.

report

A string, report name.

Value

A vector, subreport names.

Examples


reports <- anrc_2021_x01 |>
  get_subreport_names(report = "B01002-Median Age By Sex")