Learn R Programming

⚠️There's a newer version (2.0.1) of this package.Take me there.

iNZightTools (version 1.13.0)

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

1.13.0

License

GPL-3

Maintainer

Tom M. Elliott

Last Published

January 26th, 2023

Functions in iNZightTools (1.13.0)

read_dictionary

Data dictionaries
filterNumeric

Filter data by levels of a numeric variables
is_dt

Is datetime check
is_svyrep

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

Is factor check
filterRandom

Random sampling without replacement
joindata

Join data with another dataset
fitModel

Fit models
filterLevels

Filter data by levels of a categorical variables
form_class_intervals

Form Class Intervals
extract_part

Extract part of a datetimes variable
load_rda

Load object(s) from an Rdata file
reorderLevels

Reorder a categorical
load_linked

Import linked data into an inzdf object
%notin%

Anti value matching
reshape_data

Reshaping dataset from wide to long or from long to wide
deleteVars

Delete variables
create_varname

Create variable name
filterRows

Filter data by row numbers
createNewVar

Create new variables
is_preview

Is Preview
countMissing

Count missing values
is_num

Is numeric check
fitDesign

Fit a survey design
print_code

Tidy-printing of the code attached to an object
save_rda

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

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

Rank the data of a numeric variables
select

Select
selectVars

Select variables from a dataset
make_names

Make unique variable names
missingToCat

Convert missing values to categorical variables
renameLevels

Rename the levels of a categorical variable
vartypes

Get all variable types from data object
separate

Separate columns
renameVars

Rename column names
vartype

Get variable type name
standardizeVars

Standardize the data of a numeric variable
str_c

str_c operator
transformVar

Transform data of a numeric variable
is_svydesign

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

Sort data by variables
newdevice

Open a New Graphics Device
unite

Unite columns in a dataset
inzdf

iNZight data frame object
read_text

Read text as data
read_meta

Read CSV with iNZight metadata
%>%

Pipe operator
validation_details

Details of Validation Rule Results
tidy_all_code

iNZight Tidy Code
survey_IQR

Interquartile range function for surveys
stackVars

Stack variables
sheets

List available sheets within a file
smart_read

Read a data file
validation_summary

Validation Confrontation Summary
code

Get Data's Code
combineCatVars

Combine categorical variables into one
add_suffix

Add suffix to string
collapseLevels

Collapse data by values of a categorical variable
as_tibble

as_tibble
convertToCat

Convert numeric variables to categorical
convert_to_datetime

Convert to datetime
appendrows

Append row to the dataset
aggregateData

Aggregate data by categorical variables
aggregatedt

Aggregate datetimes
filter

Filter