ft_set: Flat table with page from a pivot table with with thousands...

ft_setR Documentation

Flat table with page from a pivot table with with thousands indicator and decimal numbers

Description

Flat table with page from a pivot table with with thousands indicator and decimal numbers.

Usage

ft_set

Format

A tibble object.

See Also

df_set_h_v

Other flat table: ft_ex_v2, ft_ex

Examples

# Defined by:

f <- function(pt) {
 pt |>
    set_page(1, 1) |>
    remove_top(1) |>
    define_labels(n_col = 2, n_row = 2) |>
    remove_k() |>
    replace_dec() |>
    fill_values() |>
    fill_labels() |>
    remove_agg() |>
    unpivot()
}

pt <- pivot_table(df_set_h_v)
lpt <- pt |> divide()
ft_set <- flatten_table_list(lpt, f)


flattabler documentation built on Sept. 15, 2023, 1:06 a.m.