pivot_table | R Documentation |
Create an interactive pivot table (or chart). Tailored for emission-inventory data.
pivot_table(
input_data,
rows,
columns,
values,
aggregator = "Sum",
renderer = "Heatmap",
skip_years,
inclusions = list(),
menuLimit = 6000,
file = NULL,
sorters = list(pol_abbr = c("PM", "PM2.5", "PM10", "TOG", "ROG", "NOx", "SO2", "CO",
"CO2", "CH4", "N2O", "HFC+PFC", "NH3")),
...,
verbose = getOption("verbose")
)
pivot_chart(..., renderer = "Area Chart", verbose = getOption("verbose"))
rows |
(character) required (can be a single value or a vector) |
columns |
(character) looks for |
values |
(character) looks for |
aggregator |
(character) passed to rpivotTable() |
renderer |
(character) passed to rpivotTable() |
skip_years |
(optional) drop some years |
inclusions |
(list) passed to |
menuLimit |
(integer) passed to |
sorters |
(list) expert use only |
... |
further arguments to |
verbose |
(logical) |
inventory
conventions for tabular data
the rpivotTable R package
the Javascript PivotTable.js library
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.