Package: IPDFileCheck 0.8.1

IPDFileCheck: Basic Functions to Check Readability, Consistency, and Content of an Individual Participant Data File

Basic checks needed with an individual level participant data from randomised controlled trial. This checks files for existence, read access and individual columns for formats. The checks on format is currently implemented for gender and age formats.

Authors:Sheeja Manchira Krishnan

IPDFileCheck_0.8.1.tar.gz
IPDFileCheck_0.8.1.zip(r-4.5)IPDFileCheck_0.8.1.zip(r-4.4)IPDFileCheck_0.8.1.zip(r-4.3)
IPDFileCheck_0.8.1.tgz(r-4.4-any)IPDFileCheck_0.8.1.tgz(r-4.3-any)
IPDFileCheck_0.8.1.tar.gz(r-4.5-noble)IPDFileCheck_0.8.1.tar.gz(r-4.4-noble)
IPDFileCheck_0.8.1.tgz(r-4.4-emscripten)IPDFileCheck_0.8.1.tgz(r-4.3-emscripten)
IPDFileCheck.pdf |IPDFileCheck.html
IPDFileCheck/json (API)

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

Peer review:

Bug tracker:https://github.com/sheejamk/ipdfilecheck/issues

On CRAN:

37 exports 1.34 score 107 dependencies 2 dependents 6 scripts 349 downloads

Last updated 6 months agofrom:9d09553ed7. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winERRORSep 04 2024
R-4.5-linuxERRORSep 04 2024
R-4.4-winERRORSep 04 2024
R-4.4-macERRORSep 04 2024
R-4.3-winERRORSep 04 2024
R-4.3-macERRORSep 04 2024

Exports:calculate_age_from_dobcalculate_age_from_yearcheck_col_pattern_colnamecheck_column_existscheck_load_packagescohensdconvert_date_numeric_stdformconvert_date_string_stdformconvert_to_numberdescriptive_stats_col_excl_nrcodeget_colno_pattern_colnameget_columnno_fornamesget_contents_colsget_effect_sizeget_mode_from_vectorget_semget_summary_gtsummaryget_value_from_codeskeep_required_columnspresent_mean_sd_rmna_textrepresent_categorical_data_exclude_missingrepresent_categorical_data_forsubgroupsrepresent_categorical_data_include_missingrepresent_categorical_textdatarepresent_numerical_data_forsubgroupsreturn_longitudinal_summaryreturn_subgroup_omitnareturn_subgroup_withNAtest_agetest_column_contentstest_columnnamestest_data_numerictest_data_numeric_norangetest_data_stringtest_data_string_restrictiontest_file_exist_readtest_gender

Dependencies:abindarmbase64encbigDbitopsbootbriobslibcachemcallrcardsclicodacolorspacecommonmarkcpp11crayoncurldata.tabledescdiffobjdigestdplyreeptoolseffsizeevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtgtablegtsummaryhashhighrhtmltoolshtmlwidgetsisobandjquerylibjsonlitejuicyjuicekableExtraknitrlabelinglatticelifecyclelme4lmtestlubridatemagrittrmarkdownMASSMatrixmemoisemgcvmimeminqamunsellnlmenloptrpillarpkgbuildpkgconfigpkgloadpraiseprocessxpspurrrR6rappdirsRColorBrewerRcppRcppEigenreactablereactRrematch2rlangrmarkdownrprojrootrstudioapisassscalesstringistringrsvglitesystemfontstestthattibbletidyrtidyselecttimechangetinytexutf8V8vcdvctrsviridisLitewaldowithrxfunxml2yamlzoo

User Guide

Rendered fromUser_Guide.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2021-02-19
Started: 2020-01-22

Readme and manuals

Help Manual

Help pageTopics
Function to calculate age from date of birthcalculate_age_from_dob
Function to calculate age from year of birthcalculate_age_from_year
############################################################################ Function to check if a given pattern is contained in the column names of a datacheck_col_pattern_colname
Function to check the given column existscheck_column_exists
Function to check the package is installed, if not installcheck_load_packages
Function to find the effect size Cohen's dcohensd
Helper function to keep date formats in year-month-dateconvert_date_numeric_stdform
Helper function to keep date formats in year-month-dateconvert_date_string_stdform
Function that convert a number represented as character arrayconvert_to_number
Function to return descriptive statistics, sum, no of observations, mean, mode. median, range, standard deviation and standard errordescriptive_stats_col_excl_nrcode
Function to return the column number if a given pattern is contained in the column names of a dataget_colno_pattern_colname
Function to return the column number for column nameget_columnno_fornames
Function to return the unique contents of the column given the column nameget_contents_cols
Function to get the effect sizeget_effect_size
############################################################################ Function to return modeget_mode_from_vector
############################################################################ Function to estimate standard error of the meanget_sem
Function to return the summary table using gtsummary packageget_summary_gtsummary
Function to get the actual value of column content if its codedget_value_from_codes
############################################################################ Function to keep only certain variableskeep_required_columns
############################################################################ Function to present the mean and sd of a data set in the form Mean (SD)present_mean_sd_rmna_text
Function to find the number and percentages of categoriesrepresent_categorical_data_exclude_missing
Function to find the number and percentages of categoriesrepresent_categorical_data_forsubgroups
Function to find the number and percentages of categoriesrepresent_categorical_data_include_missing
Function to represent categorical data in the form - numbers (percentage)represent_categorical_textdata
Function to find the number and percentages of categoriesrepresent_numerical_data_forsubgroups
Function to get the longitudinal summary mean and sdreturn_longitudinal_summary
Function to return a subgroup when certain variable equals the given value while omitting those with NAreturn_subgroup_omitna
Function to return a subgroup when certain variable equals the given value while omitting those with NAreturn_subgroup_withNA
Function to check the format of 'age' in datatest_age
Function to check the format of column contentstest_column_contents
Function to test column names of a data being different from what specifiedtest_columnnames
Function to check the format of a numeric columntest_data_numeric
Function to check the format of a numeric column when the values are not boundedtest_data_numeric_norange
Function to check the format of a string columntest_data_string
Function to check the format of a string column when the string values are giventest_data_string_restriction
Function to throw error on invalid directory or file and if not readabletest_file_exist_read
Function to check the format of 'gender' column in datatest_gender