Creates Assertion Tests


[Up] [Top]

Documentation for package ‘vvauditor’ version 0.6.0

Help Pages

assertion_message Assert Message Based on Type
assert_date_named Assert Date Value in Column
assert_logical_named Assert Logical Value in Column
assert_no_duplicates_in_group Assert No Duplicates in Group
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_non_zero_rows Check for Non-Zero Rows
check_no_duplicates_in_group Check for No Duplicates in Group
check_no_duplicate_rows Check for No Duplicate 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_dataset_summary_table Create dataset summary statistics table
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 values
find_minimum_value Find the minimum numeric value in a vector, ignoring non-numeric values
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_functions_and_packages Retrieve functions and packages
retrieve_function_calls retrieve_function_calls
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
str_detect_in_file Detect string in file
test_all_equal Test all equal
unique_id unique id