Skip to contents

Varformats

Create

new_format()
Define a Hierarchical Variable Format
new_format_asis()
Create a procr_varformat from data
total_format() tf()
Create a procr_varformat for the Total
add_subs() ss() ss_all() ss_some() ss_overlap() davon() darunter() undzwar()
Define Hierarchical Subsets Within a Variable Format

Print

print(<procr_varformat>)
Print a procr_varformat object in a structured tree view

Check

check_format()
Check coverage and consistency of a varformat on a data.frame

Combine

`+`(<procr_varformat>)
Add Two procr_varformat Objects
`*`(<procr_varformat>)
Multiply Two procr_varformat Objects

Convert

as.data.frame(<procr_varformat>)
Convert procr_varformat to data.frame
generate_header()
Expand a procr_varformat to Header Dimensions

Tables

Create

Add

add_data() get_data()
Add or Get Data to/from procr_table Object
set_metadata() get_metadata()
Set or Get Table Metadata
set_layout() get_layout()
Set or Get Table Layout
set_data_numfmt() get_data_numfmt()
Set or Get Number Formatting for a Data Matrix
set_data_unit() get_data_unit()
Set or Get the Unit for a Data Matrix
print(<procr_table>)
Print a procr_table by Showing HTML in the Viewer
show_info()
Print a Structural Summary of a procr_table

Export

to_html() to_gt()
Convert a procr_table to a gt Object or HTML String
to_wb()
Export procr_table Objects to an Excel workbook
wb_add_procr_table()
Add a procr_table to an Excel sheet using the openxlsx2 package
wb_add_procr_table_accessible()
Add Procr Table to Sheet (Accessible Version)
wb_add_procr_table_csv()
Add Procr Table to Sheet (CSV Version)
write_wb()
Write an Excel Workbook to File

Data

Datasets included in the package for demo purposes.

eusilc
Synthetic EU-SILC data

Utility functions

Convenient helpers that enable shorter code.

inrange() `%inrange%`
Check if values are within a numeric interval