Development Tools for the Admiral Package Family

[Up] [Top]

Documentation for package ‘admiraldev’ version 0.1.0

Help Pages

%notin% Negated Value Matching
%or% Or
anti_join Join Functions
arg_name Extract Argument Name from an Expression
assert_character_scalar Is an Argument a Character Scalar (String)?
assert_character_vector Is an Argument a Character Vector?
assert_data_frame Is an Argument a Data Frame?
assert_date_var Is a Variable in a Dataset a Date or Datetime Variable?
assert_expr Assert Argument is an Expression
assert_filter_cond Is an Argument a Filter Condition?
assert_function Is Argument a Function?
assert_function_param Assert Argument is a Parameter of a Function
assert_has_variables Does a Dataset Contain All Required Variables?
assert_integer_scalar Is an Argument an Integer Scalar?
assert_list_element Is an Element of a List of Lists/Classes Fulfilling a Condition?
assert_list_of Is an Argument a List of Objects of a Specific S3 Class?
assert_logical_scalar Is an Argument a Logical Scalar (Boolean)?
assert_named_exprs Assert Argument is a Named List of Expressions
assert_numeric_vector Is an Argument a Numeric Vector?
assert_one_to_one Is There a One to One Mapping between Variables?
assert_order_vars Is an Argument a List of Order Variables?
assert_param_does_not_exist Asserts That a Parameter Does Not Exist in the Dataset
assert_s3_class Is an Argument an Object of a Specific S3 Class?
assert_symbol Is an Argument a Symbol?
assert_unit Asserts That a Parameter is Provided in the Expected Unit
assert_vars Is an Argument a List of Variables?
assert_varval_list Is an Argument a Variable-Value List?
as_name Turn a Quosure into a String
backquote Wrap a String in Backquotes
convert_dtm_to_dtc Helper Function to Convert Date (or Date-time) Objects to Characters of dtc Format (-DTC type of variable)
dataset_vignette Output a Dataset in a Vignette in the admiral Format
dquote Wrap a String in Double Quotes
enumerate Enumerate Multiple Strings
expect_dfs_equal Expectation: Are Two Datasets Equal?
extract_vars Extract All Symbols from a List of Quosures
filter_if Optional Filter
get_constant_vars Get Constant Variables
get_dataset Retrieve a Dataset from the '.datasets' environment
get_duplicates Get Duplicates From a Vector
get_new_tmp_var Get a New Temporary Variable Name for a Dataset
get_source_vars Get Source Variables from a List of Quosures
inner_join Join Functions
is_auto Checks if the argument equals the auto keyword
is_date Is Date/Date-time?
is_named Is a named argument
is_order_vars Is order vars?
is_timeunit Is Time Unit?
is_valid_date_entry Check Validity of the Date Imputation Input
is_valid_day Check Validity of the Day Portion in the Date Input
is_valid_dtc Is this string a valid DTC
is_valid_hour Check Validity of the Hour Portion in the Time Input
is_valid_month Check Validity of the Month Portion in the Date Input
is_valid_sec_min Check Validity of the Minute/Second Portion of the Time Input
is_valid_time_entry Check Validity of the Time Imputation Input
left_join Join Functions
negate_vars Negate List of Variables
quo_c Concatenate One or More Quosure(s)
quo_not_missing Check Whether an Argument Is Not a Quosure of a Missing Argument
remove_tmp_vars Remove All Temporary Variables Created Within the Current Function Environment
replace_values_by_names Replace Quosure Value with Name
set_dataset Set a Dataset in the '.datasets' environment
squote Wrap a String in Single Quotes
suppress_warning Suppress Specific Warnings
valid_time_units Valid Time Units
vars2chr Turn a List of Quosures into a Character Vector
warn_if_incomplete_dtc Warn if incomplete dtc
warn_if_inconsistent_list Warn If Two Lists are Inconsistent
warn_if_invalid_dtc Warn If a Vector Contains Unknown Datetime Format
warn_if_vars_exist Warn If a Variable Already Exists
what_is_it What Kind of Object is This?