Skip to contents

All functions

convert_files()
Modify multiple files to a specified format
create_partial_dictionary()
Write an Excel file containing the names and classes of each file
crosstab()
Cross Tabulation
delete_files_from_excel()
Delete files specified in an Excel file
delete_stata_temps()
Delete Stata temporary files
file_size()
Get the size of each file
files_size()
Get the total size of multiple files.
find_stata_tempdir()
Find Stata Temporary Directory
folder_details()
Create table with information of all the files in specified folders
get_mode()
Calculate the mode of a vector
get_next_consecutives()
Find Consecutive Numbers in a Vector
get_unifying_file_info()
Get necessary data for unify_colnames() and unify_classes()
get_values_tic_msg()
Measures elapsed time in a desired unit
is_subset_bidirectional()
Check if Strings are subsets of each other.
is_substring()
Check if a String is a Substring
n_digits_int()
Count the number of digits in an integer
n_digits_natural()
Count number of digits in a natural number
pad_with_nas()
Append NA values to a vector to reach a target length
partition_data()
Partition a parquet file into multiple parquet files of a maximum size.
read_fun()
Wrapper function for reading data functions
relocate_columns()
Correct the columns' order
share_all_elements()
Check if two vectors have the same elements.
sort_partial_dictionary()
Refine the "raw partial dictionary"
stata_month2ymd()
Convert Stata month to date
unify_classes()
Standardize column's datatypes in a file based on an unifying dictionary
unify_colnames()
Standardize column names in a file based on an unifying dictionary
unpartition_data()
Join partitions into a single file
write_fun()
Wrapper function for writing data functions