Skip to contents

Get the page information associated with the pivot table represented by the object.

Usage

get_page(pt)

# S3 method for pivot_table
get_page(pt)

Arguments

pt

A pivot_table object.

Value

A vector of strings.

Details

Each pivot table implements a report. The pivot table page represents the context of that report. It is useful when we work with several pivot tables with the same structure: for example, the page can allow us to differentiate their origin, date or author. This information is often included in the file name, sheet name, or cells attached to the pivot table.

See also

pivot_table

Other pivot table definition functions: define_labels(), pivot_table(), set_page()

Examples

page <- pt_ex |> get_page()