View source: R/acs_5yr_topic.R
select_subreport | R Documentation |
Select the subreports whose names are indicated. We reduce the available subreports and variables to those of the selected subreports.
select_subreport(act, subreport)
## S3 method for class 'acs_5yr_topic'
select_subreport(act, subreport = NULL)
act |
An |
subreport |
A string vector, subreport names. |
A vector, topic name.
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_report()
,
select_topic()
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)"
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.