Learn R Programming

geogenr (version 2.0.1)

select_report: 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 acs_5yr_topic select_report(act, report = NULL)

Value

An acs_5yr_topic object.

Arguments

act

An acs_5yr_topic object.

report

A string vector, report names.

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

Run this code

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

Run the code above in your browser using DataLab