round_table: Systematically round values in a table

round_tableR Documentation

Systematically round values in a table

Description

This is an internal function to do the rounding on all numeric elements of the table for comparability with external sources that use rounding.

Usage

round_table(data_table, digits = NULL)

Arguments

data_table

A symmetric input-output table, or a use table, or a supply table, or a margin or a tax table.

digits

Number of digits for rounding.

Value

A tibble with a key row and a symmetric matrix, after removing all empty columns and rows at the same time.


rOpenGov/iotables documentation built on Jan. 26, 2024, 3:06 a.m.