Learn R Programming

flattabler (version 2.1.2)

get_page: Get the page information of a pivot table

Description

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)

Value

A vector of strings.

Arguments

pt

A pivot_table object.

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

Run this code
page <- pt_ex |> get_page()

Run the code above in your browser using DataLab