get_data_table: Return data table from px object

View source: R/modify_data.R

get_data_tableR Documentation

Return data table from px object

Description

Return data table from px object

Usage

get_data_table(x, value, labels, sort)

Arguments

x

A px object

value

Optional. A data frame. If missing, the current DATA is returned. If NULL, all data rows are removed.

labels

Optional. Logic or character vector. If TRUE, the data table is returned with VALUES instead of CODES. By default the VALUES of the main language are returned, use a character language code to return VALUES for a specific language.

sort

Optional. If TRUE, the data table is returned in the sort order defined by px_order(). If FALSE, the data table is returned as is.


pxmake documentation built on Dec. 16, 2025, 5:08 p.m.