This internal function processes multiple Excel files within a directory. The files are processed based on the
specified type ("sex" or "place").
.jpinfect_read_excels(type, directory)A data frame containing combined case reports from all processed files.
A character string specifying the type of data to import. Must be either "sex" or "place".
A character string specifying the directory containing Excel files to process.
The function identifies files matching the specified type within the directory. It processes each file using
.jpinfect_read_excel and combines the results.
Supported file patterns:
"sex"Files with names containing "11.xls" or "Syu_01_1.xls".
"place"Files with names containing "Syu_02_1.xls".