vvauditor0.8.0 package

Creates Assertion Tests

assert_date_named

Assert Date Value in Column

assert_field_consistency

Check if the fieldnames of the dataset are the same

assert_field_distinctness

Assert Field Uniqueness Consistency Between Data and Metadata

assert_field_existence

Assert Field Existence in New Data

assert_logical_named

Assert Logical Value in Column

assert_missing_values

Assert Consistency of Missing Values in Data

assert_no_duplicates_in_group

Assert No Duplicates in Group

assert_range_validation

Assert Range Validation for Data Fields

assert_type_consistency

Assert Type Consistency Between Data and Metadata

assertion_message

Assert Message Based on Type

calculate_category_percentages

Calculate the percentage of categories in a data vector

check_double_columns

check double columns

check_duplicates

Check for Duplicate Rows in Selected Columns

check_na_columns

Check for columns with only NA values

check_no_duplicate_rows

Check for No Duplicate Rows

check_no_duplicates_in_group

Check for No Duplicates in Group

check_non_zero_rows

Check for Non-Zero Rows

check_numeric_or_integer_type

Check for Numeric or Integer Type

check_posixct_type

Check for POSIXct Type

check_rows

Check rows

check_zero_columns

Check for Columns with Only 0s

count_more_than_1

Count more than 1

create_categorical_details

Create categorical details csv

create_data_types

Create data types tibble

create_dataset_summary_table

Create dataset summary statistics table

create_field_info

Create field info

create_numeric_details

Create numeric details csv

create_subset_fields

Create subset fields

drop_na_column_names

Drop NA column names

duplicates_in_column

Duplicates in column

find_common_columns

Find Common Columns Between Data Frames

find_maximum_value

Find the maximum numeric value in a vector, ignoring non-numeric value...

find_minimum_value

Find the minimum numeric value in a vector, ignoring non-numeric value...

find_pattern_r

Find pattern in R scripts

get_distribution_statistics

Compute distribution statistics for a numeric vector

get_first_element_class

Retrieve the class of the first element of a vector

get_values

Get values of column

identify_join_pairs

Identify Possible Join Pairs Between Data Frames

identify_outliers

Identify Outliers in a Data Frame Column

is_unique_column

Check if a column in a dataframe has unique values

md_complete_cases

MD complete cases

regex_content_parameter

Construct Regex for Matching Function Parameter Content

regex_time

Generate regular expression of a time.

regex_year_date

Generate regular expression of a year date.

remove_duplicates_and_na

Remove Duplicates and NA Values from Input

retrieve_function_calls

retrieve_function_calls

retrieve_functions_and_packages

Retrieve functions and packages

retrieve_package_usage

Retrieve packages that are loaded in a script

retrieve_sourced_scripts

retrieve_sourced_scripts

retrieve_string_assignments

retrieve_string_assignments

return_assertions_message

Return Assertion Messages

return_mtcars_testfile

Read and return the mtcars testfile

run_all_assertions

Run All Data Validation Assertions

str_detect_in_file

Detect string in file

test_all_equal

Test all equal

unique_id

unique id

Offers a comprehensive set of assertion tests to help users validate the integrity of their data. These tests can be used to check for specific conditions or properties within a dataset and help ensure that data is accurate and reliable. The package is designed to make it easy to add quality control checks to data analysis workflows and to aid in identifying and correcting any errors or inconsistencies in data.

  • Maintainer: Hajo Bons
  • License: MIT + file LICENSE
  • Last published: 2026-01-19