mergeData: Merge exported data for all subplots

View source: R/odk.R

mergeDataR Documentation

Merge exported data for all subplots

Description

Merge exported data for all subplots

Usage

mergeData(
  expDir = getwd(),
  mergeMedia = TRUE,
  saveFile = TRUE,
  zipMedia = FALSE
)

Arguments

expDir

Data exported directory where the subplots data are arranged in subdirectories.

mergeMedia

Logical, if is 'TRUE' média is grouping in 'allMedia' directory but original media was not deleted.

saveFile

Lógical, if is 'TRUE' save files in the 'expDir'.

zipMedia

Logical if is 'TRUE' the 'allMedia' directory is compressed and deleted. In order to run needs 7-zip installed on the system (https://www.7-zip.org/download.html)

Value

'mergeData' save two text files('treeRes*.txt' and 'treeAll*.txt') if 'saveFile' is 'TRUE' or/and the resume data in an assign object. .

Author(s)

Alexandre Adalardo de Oliveira aleadalardo@gmail.com

References

https://opendatakit.org/

See Also

http://labtrop.ib.usp.br

Examples


## Not run: 
mergeData(expDir = getwd(), mergeMedia = TRUE, zipMedia = FALSE)

## End(Not run)


adalardo/Rppsp documentation built on June 10, 2025, 1:11 p.m.