Type: Package
Title: Convert 'XLSForm' to Structured 'Word' Document
Version: 0.1.0
Description: Converts an 'XLSForm' (survey in 'Excel') into a well-structured 'Word' document, including sections, skip logic, options, and question labels. Designed to support survey documentation, training materials, and data collection workflows. The package was developed based on field experience with 'XLSForm' and humanitarian operations, aiming to streamline documentation and enhance training efficiency.
Encoding: UTF-8
Imports: readxl, officer, dplyr, stringr, tools, rlang
RoxygenNote: 7.3.2
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
License: MIT + file LICENSE
NeedsCompilation: no
Packaged: 2025-04-22 09:09:28 UTC; ratov
Author: NyAvo RATOVO-ANDRIANARISOA [aut, cre]
Maintainer: NyAvo RATOVO-ANDRIANARISOA <ratovoandry1@gmail.com>
Repository: CRAN
Date/Publication: 2025-04-24 08:20:02 UTC

Convert xlsform to Word Document (English)

Description

This function reads a structured xlsform Excel file and generates a formatted Word document in English.

Usage

xlsform2word_en(path, output = "xlsform_output.docx", verbose = TRUE)

Arguments

path

Path to xlsform Excel file (.xls or .xlsx)

output

Name of the output Word file

verbose

Logical. If TRUE (default), displays progress messages in the console.

Value

Returns Success if successfully generated


Convert to Word Document (French)

Description

This function reads a structured xlsform Excel file and generates a formatted Word document in French.

Usage

xlsform2word_fr(path, output = "xlsform_output.docx", verbose = TRUE)

Arguments

path

Path to xlsform Excel file (.xls or .xlsx)

output

Name of the output Word file

verbose

Logical. If TRUE (default), displays progress messages in the console.

Value

Returns Success if successfully generated