iNZightTools2.0.3 package

Tools for 'iNZight'

add_suffix

Add suffix to string

aggregate_data

Aggregate data by categorical variables

append_rows

Append rows to a dataset

as_tibble

as_tibble

code

Get Data's Code

collapse_cat

Collapse data by values of a categorical variable

combine_vars

Combine variables into one categorical variable

convert_to_cat

Convert variables to categorical variables

convert_to_date

Convert variables to dates

convert_to_datetime

Convert variables to date-time

create_varname

Create variable name

create_vars

Create new variables

delete_vars

Delete variables

dictionary

Data Dictionaries

extract_dt_comp

Extract date component from a date-time variable

extract_part

Extract part of a datetimes variable (DEPRECATED)

filter

Filter

filter_cat

Filter data by levels of categorical variables

filter_num

Filter data by levels of numeric variables

fitDesign

Fit a survey design

fitModel

Fit models

form_class_intervals

Form Class Intervals

inzdf

iNZight data frame object

is_cat

Is factor check

is_dt

Is datetime check

is_num

Is numeric check

is_preview

Is Preview

is_survey

Check if object is a survey object (either standard or replicate desig...

is_svydesign

Check if object is a survey object (created by svydesign())

is_svyrep

Check if object is a replicate survey object (created by svrepdesign()...

join_data

Join data with another dataset

load_linked

Import linked data into an inzdf object

load_rda

Load object(s) from an Rdata file

make_names

Make unique variable names

missing_to_cat

Convert missing values to categorical variables

newdevice

Open a New Graphics Device

operator_not_in

Anti value matching

operator_or_null

NULL or operator

pipe

Pipe operator

print_code

Tidy-printing of the code attached to an object

random_sample

Random sampling without replacement

rank_vars

Rank the data of numeric variables

read_meta

Read CSV with iNZight metadata

read_text

Read text as data

remove_rows

Remove rows from data by row numbers

rename_levels

Rename the levels of a categorical variable

rename_vars

Rename column names

reorder_levels

Reorder the levels of a categorical variable

reshape_data

Reshaping dataset from wide to long or from long to wide

save_rda

Save an object with, optionally, a (valid) name

select

Select

select_vars

Select variables from a dataset

separate_var

Separate columns

sheets

List available sheets within a file

smart_read

Read a data file

sort_vars

Sort data by variables

standardize_vars

Standardize the data of a numeric variable

stringConcatenation

str_c operator

survey_IQR

Interquartile range function for surveys

tidy_all_code

iNZight Tidy Code

transform_vars

Transform data of numeric variables

validation_details

Details of Validation Rule Results

validation_summary

Validation Confrontation Summary

vartype

Get variable type name

vartypes

Get all variable types from data object

Provides a collection of wrapper functions for common variable and dataset manipulation workflows primarily used by 'iNZight', a graphical user interface providing easy exploration and visualisation of data for students of statistics, available in both desktop and online versions. Additionally, many of the functions return the 'tidyverse' code used to obtain the result in an effort to bridge the gap between GUI and coding.

  • Maintainer: Tom Elliott
  • License: GPL-3
  • Last published: 2025-07-29