select_report {geogenr}R Documentation

Select report

Description

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

Usage

select_report(act, report)

## S3 method for class 'acs_5yr_topic'
select_report(act, report = NULL)

Arguments

act

An acs_5yr_topic object.

report

A string vector, report names.

Value

An acs_5yr_topic object.

See Also

Other data selection functions: as_acs_5yr_topic(), get_available_area_topics(), get_available_area_years(), get_available_areas(), get_geo_attribute_names(), get_geo_layer.acs_5yr_geo(), get_names_of_other_topics(), get_report_names(), get_subreport_names(), get_topic_name(), select_subreport(), select_topic()

Examples


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


[Package geogenr version 2.0.1 Index]