Package: iNZightTools 2.0.1

Tom Elliott

iNZightTools: Tools for 'iNZight'

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.

Authors:Tom Elliott [aut, cre], Daniel Barnett [aut], Yiwen He [aut], Zhaoming Su [aut], Lushi Cai [ctb], Akshay Gupta [ctb], Owen Jin [ctb], Christoph Knopf [ctb]

iNZightTools_2.0.1.tar.gz
iNZightTools_2.0.1.zip(r-4.5)iNZightTools_2.0.1.zip(r-4.4)iNZightTools_2.0.1.zip(r-4.3)
iNZightTools_2.0.1.tgz(r-4.4-any)iNZightTools_2.0.1.tgz(r-4.3-any)
iNZightTools_2.0.1.tar.gz(r-4.5-noble)iNZightTools_2.0.1.tar.gz(r-4.4-noble)
iNZightTools_2.0.1.tgz(r-4.4-emscripten)iNZightTools_2.0.1.tgz(r-4.3-emscripten)
iNZightTools.pdf |iNZightTools.html
iNZightTools/json (API)

# Install 'iNZightTools' in R:
install.packages('iNZightTools', repos = c('https://inzightvit.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/inzightvit/inzighttools/issues

On CRAN:

5.16 score 1 stars 2 packages 18 scripts 403 downloads 69 exports 44 dependencies

Last updated 6 months agofrom:d660b84a70. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 12 2024
R-4.5-winNOTEOct 12 2024
R-4.5-linuxNOTEOct 12 2024
R-4.4-winOKOct 12 2024
R-4.4-macOKOct 12 2024
R-4.3-winOKOct 12 2024
R-4.3-macOKOct 12 2024

Exports:%>%%||%%notin%add_suffixaggregate_dataaggregate_dtappend_rowsapply_dictionaryas_tibblecodecollapse_catcombine_varsconvert_to_catconvert_to_dateconvert_to_datetimecreate_varnamecreate_varsdelete_varsextract_dt_compextract_partfilterfilter_catfilter_numfitDesignfitModelform_class_intervalsget_dictionaryhas_dictionaryinzdfis_catis_dtis_numis_previewis_surveyis_svydesignis_svyrepjoin_dataload_linkedload_rdamake_namesmissing_to_catnewdeviceprint_coderandom_samplerank_varsread_dictionaryread_metaread_textremove_rowsrename_levelsrename_varsreorder_levelsreshape_datasave_rdaselectselect_varsseparate_varsheetssmart_readsort_varsstandardize_varsstr_csurvey_IQRtidy_all_codetransform_varsvalidation_detailsvalidation_summaryvartypevartypes

Dependencies:bitbit64clicliprcpp11crayonDBIdplyrfansiforcatsgenericsgluehmslatticelifecyclemagrittrMatrixminqamitoolsnumDerivpillarpkgconfigprettyunitsprogresspurrrR6RcppRcppArmadilloreadrrlangsrvyrstringistringrsurveysurvivaltibbletidyrtidyselecttzdbunitsutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Add suffix to stringadd_suffix
Aggregate data by categorical variablesaggregate_data aggregate_dt
Append rows to a datasetappend_rows
Get Data's Codecode
Collapse data by values of a categorical variablecollapse_cat
Combine variables into one categorical variablecombine_vars
Convert variables to categorical variablesconvert_to_cat
Convert variables to datesconvert_to_date
Convert variables to date-timeconvert_to_datetime
Create variable namecreate_varname
Create new variablescreate_vars
Delete variablesdelete_vars
Extract date component from a date-time variableextract_dt_comp
Extract part of a datetimes variable (DEPRECATED)extract_part
Filterfilter filter.inzdf_db
Filter data by levels of categorical variablesfilter_cat
Filter data by levels of numeric variablesfilter_num
Fit a survey designfitDesign
Fit modelsfitModel
Form Class Intervalsform_class_intervals
iNZight data frame objectinzdf inzdf.data.frame inzdf.SQLiteConnection inzdf.tbl_df
Is factor checkis_cat
Is datetime checkis_dt
Is numeric checkis_num
Is Previewis_preview
Check if object is a survey object (either standard or replicate design)is_survey
Check if object is a survey object (created by svydesign())is_svydesign
Check if object is a replicate survey object (created by svrepdesign())is_svyrep
Join data with another datasetjoin_data
Import linked data into an 'inzdf' objectload_linked
Load object(s) from an Rdata fileload_rda
Make unique variable namesmake_names
Convert missing values to categorical variablesmissing_to_cat
Open a New Graphics Devicenewdevice
Anti value matching%notin% Not In operator
NULL or operator%||% Or NULL operator
Tidy-printing of the code attached to an objectprint_code
Random sampling without replacementrandom_sample
Rank the data of numeric variablesrank_vars
Data Dictionariesapply_dictionary get_dictionary has_dictionary print.dictionary read_dictionary [.dictionary
Read CSV with iNZight metadataread_meta
Read text as dataread_text
Remove rows from data by row numbersremove_rows
Rename the levels of a categorical variablerename_levels
Rename column namesrename_vars
Reorder the levels of a categorical variablereorder_levels
Reshaping dataset from wide to long or from long to widereshape_data
Save an object with, optionally, a (valid) namesave_rda
Selectselect
Select variables from a datasetselect_vars
Separate columnsseparate_var
List available sheets within a filesheets
Read a data filesmart_read
Sort data by variablessort_vars
Standardize the data of a numeric variablestandardize_vars
Interquartile range function for surveyssurvey_IQR
iNZight Tidy Codetidy_all_code
Transform data of numeric variablestransform_vars
Details of Validation Rule Resultsvalidation_details
Validation Confrontation Summaryvalidation_summary
Get variable type namevartype
Get all variable types from data objectvartypes