statstable_expand | R Documentation |
For each comma seperated value in a cell a new row is added.
statstable_expand(statstable, sep = "\\s*,\\s*")
statstable |
compact statstable |
sep |
seperator of combined values |
expanded statstable
tidyr::seperate_rows()
is used to expand the table. One call per column.
statstable <- tibble::tribble(
~parameter, ~statistic, ~from, ~to,
"O3, NO2", "min, max", "h1, d1", "m1, y1"
)
statstable_expand(statstable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.