.jpinfect_read_excels {jpinfect}R Documentation

Process Multiple Excel Files

Description

This internal function processes multiple Excel files within a directory. The files are processed based on the specified type ("sex" or "place").

Usage

.jpinfect_read_excels(type, directory)

Arguments

type

A character string specifying the type of data to import. Must be either "sex" or "place".

directory

A character string specifying the directory containing Excel files to process.

Details

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".

Value

A data frame containing combined case reports from all processed files.


[Package jpinfect version 0.1.2 Index]