This function initializes project configuration by creating two CSV files: one for reading data and another for writing data. It uses either a user-specified config.yml file or the package's default config.yml file to determine the structure of these configuration files.

create_config_csv_files(
  user_config_path = "user_config.yml",
  output_dir_path = "config_files"
)

Arguments

user_config_path

A character string specifying the path to the user-specified config.yml file. Defaults to "user_config.yml".

output_dir_path

A character string specifying the directory path where the configuration CSV files will be written. Defaults to "config_files".

Value

NULL. The function writes two CSV files to the specified directory: config_read.csv

for reading configurations and config_write.csv for writing configurations.

Examples

if (FALSE) {
# Using the default config.yml
create_config_csv_files()
}

if (FALSE) {
# Specifying a user-defined config.yml
create_config_csv_files(user_config_path = "path/to/user_config.yml")
}