View source: R/make_industry_table.R
make_industry_table | R Documentation |
Create a table for the industry ppq
make_industry_table(
data,
destination = "ppqs",
years_in_sparklines = 3,
row_order = NULL,
highlight_rows = NULL,
notes = NULL,
title = "",
rename_indicators = FALSE,
pretty_round = TRUE
)
data |
A data frame containing data to summarise |
destination |
"dashboard", "briefing" or "ppqs |
years_in_sparklines |
Period of time to include in the sparkline line charts. |
row_order |
Vector of series IDs, in the order in which you wish the corresponding rows to be included in the output table |
highlight_rows |
Vector of series IDs, corresponding to rows
in the table to highlight.
Highlighted rows are bolded and have a top border; non-highlighted rows
are indented. If |
notes |
Optional notes to add to caption. Source will be inferred
automatically based on the data using |
title |
Character vector to use as the table title. Will only be used
when |
rename_indicators |
logical; default is |
pretty_round |
Logical; |
# dash_data <- load_dash_data()
## Not run:
make_industry_table(
data = filter_dash_data(series_ids = c(
"A84601662A",
"A84601680F",
"A84601683L",
"A84601686V",
"A84601665J",
"A84601704L",
"A84601707V",
"A84601710J",
"A84601638A",
"A84601653X",
"A84601689A",
"A84601656F",
"A84601713R",
"A84601668R",
"A84601695W",
"A84601698C",
"A84601650T",
"A84601671C",
"A84601641R",
"A84601716W"
),
row_order = c(
"A84601662A",
"A84601680F",
"A84601683L",
"A84601686V",
"A84601665J",
"A84601704L",
"A84601707V",
"A84601710J",
"A84601638A",
"A84601653X",
"A84601689A",
"A84601656F",
"A84601713R",
"A84601668R",
"A84601695W",
"A84601698C",
"A84601650T",
"A84601671C",
"A84601641R",
"A84601716W"
),
highlight_rows = c("A84601662A")
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.