Learn R Programming

iNZightTools (version 2.0.4)

Tools for 'iNZight'

Description

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.

Copy Link

Version

Install

install.packages('iNZightTools')

Monthly Downloads

323

Version

2.0.4

License

GPL-3

Maintainer

Tom M. Elliott

Last Published

July 27th, 2026

Functions in iNZightTools (2.0.4)

form_class_intervals

Form Class Intervals
fitDesign

Fit a survey design
print_code

Tidy-printing of the code attached to an object
missing_to_cat

Convert missing values to categorical variables
newdevice

Open a New Graphics Device
%>%

Pipe operator
load_linked

Import linked data into an inzdf object
join_data

Join data with another dataset
is_num

Is numeric check
is_cat

Is factor check
create_varname

Create variable name
is_dt

Is datetime check
create_vars

Create new variables
inzdf

iNZight data frame object
is_svydesign

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

Fit models
rank_vars

Rank the data of numeric variables
random_sample

Random sampling without replacement
extract_part

Extract part of a datetimes variable (DEPRECATED)
is_preview

Is Preview
reorder_levels

Reorder the levels of a categorical variable
Or NULL operator

NULL or operator
rename_levels

Rename the levels of a categorical variable
select

Select
read_meta

Read CSV with iNZight metadata
remove_rows

Remove rows from data by row numbers
extract_dt_comp

Extract date component from a date-time variable
read_text

Read text as data
separate_var

Separate columns
sheets

List available sheets within a file
smart_read

Read a data file
is_survey

Check if object is a survey object (either standard or replicate design)
rename_vars

Rename column names
Not In operator

Anti value matching
standardize_vars

Standardize the data of a numeric variable
str_c

str_c operator
sort_vars

Sort data by variables
vartypes

Get all variable types from data object
save_rda

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

Reshaping dataset from wide to long or from long to wide
survey_IQR

Interquartile range function for surveys
load_rda

Load object(s) from an Rdata file
tidy_all_code

iNZight Tidy Code
validation_details

Details of Validation Rule Results
transform_vars

Transform data of numeric variables
select_vars

Select variables from a dataset
is_svyrep

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

Make unique variable names
validation_summary

Validation Confrontation Summary
vartype

Get variable type name
convert_to_datetime

Convert variables to date-time
code

Get Data's Code
append_rows

Append rows to a dataset
convert_to_date

Convert variables to dates
convert_to_cat

Convert variables to categorical variables
aggregate_data

Aggregate data by categorical variables
add_suffix

Add suffix to string
combine_vars

Combine variables into one categorical variable
as_tibble

as_tibble
collapse_cat

Collapse data by values of a categorical variable
delete_vars

Delete variables
read_dictionary

Data Dictionaries
filter_num

Filter data by levels of numeric variables
filter

Filter
filter_cat

Filter data by levels of categorical variables