Package 'compareXLSForms'

Title: Identify differences between two XLSForm files
Description: Package imports the "survey" sheet from two specified XLSForm files and conducts a number of comparison checks to faciliate form version control.
Authors: William Oswald [aut, cre]
Maintainer: William Oswald <[email protected]>
License: CC BY 4.0
Version: 0.0.0.9001
Built: 2024-10-21 02:45:05 UTC
Source: https://github.com/williameoswald/compareXLSForms

Help Index


Compares survey sheets from two xlsform files

Description

This function imports two XLSForm files and currently conducts a number of checks to compare each of the "survey" sheets

Usage

compare_survey(form1, form2, language)

Arguments

form1

Filepath of first form as text or referring to object with location.

form2

Filepath of second form as text or referring to object with location.

language

Specify any secondary language of the form. Form can have more than one, but this will only check one at a time. (e.g. "Francais") Entered text must match language specification in the XLSForm columns.

Value

List of data.frames with results of each "check" in tibbles.

Examples

## Not run: compare_forms(form1location,form2location,"Francais")

Tabulates results from checks output from "compare_survey"

Description

This function creates flextable formatted tables from objects stored in full_compare list output by compare_survey.

Usage

tabulate_comparison(item)

Arguments

item

Number of check to tabulate.

Value

Flextable object.

Examples

## Not run: tabulate_comparison(1)