Learn R Programming

iNZightTools (version 2.0.1)

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

314

Version

2.0.1

License

GPL-3

Maintainer

Tom M. Elliott

Last Published

October 12th, 2023

Functions in iNZightTools (2.0.1)

form_class_intervals

Form Class Intervals
is_preview

Is Preview
is_cat

Is factor check
is_dt

Is datetime check
fitModel

Fit models
inzdf

iNZight data frame object
is_svydesign

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

Pipe operator
is_survey

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

Convert missing values to categorical variables
newdevice

Open a New Graphics Device
print_code

Tidy-printing of the code attached to an object
make_names

Make unique variable names
is_svyrep

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

Load object(s) from an Rdata file
reshape_data

Reshaping dataset from wide to long or from long to wide
save_rda

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

Remove rows from data by row numbers
rename_levels

Rename the levels of a categorical variable
Not In operator

Anti value matching
random_sample

Random sampling without replacement
Or NULL operator

NULL or operator
load_linked

Import linked data into an inzdf object
tidy_all_code

iNZight Tidy Code
survey_IQR

Interquartile range function for surveys
select_vars

Select variables from a dataset
join_data

Join data with another dataset
rank_vars

Rank the data of numeric variables
select

Select
read_meta

Read CSV with iNZight metadata
validation_summary

Validation Confrontation Summary
read_text

Read text as data
rename_vars

Rename column names
reorder_levels

Reorder the levels of a categorical variable
separate_var

Separate columns
validation_details

Details of Validation Rule Results
sheets

List available sheets within a file
vartype

Get variable type name
transform_vars

Transform data of numeric variables
smart_read

Read a data file
vartypes

Get all variable types from data object
sort_vars

Sort data by variables
standardize_vars

Standardize the data of a numeric variable
str_c

str_c operator
convert_to_date

Convert variables to dates
append_rows

Append rows to a dataset
code

Get Data's Code
convert_to_datetime

Convert variables to date-time
convert_to_cat

Convert variables to categorical variables
combine_vars

Combine variables into one categorical variable
aggregate_data

Aggregate data by categorical variables
collapse_cat

Collapse data by values of a categorical variable
add_suffix

Add suffix to string
as_tibble

as_tibble
create_varname

Create variable name
create_vars

Create new variables
filter_cat

Filter data by levels of categorical variables
filter

Filter
extract_dt_comp

Extract date component from a date-time variable
filter_num

Filter data by levels of numeric variables
fitDesign

Fit a survey design
delete_vars

Delete variables
read_dictionary

Data Dictionaries
is_num

Is numeric check
extract_part

Extract part of a datetimes variable (DEPRECATED)