mapResults: mapResults : merge data from // computing (the reduce...

mapResultsR Documentation

mapResults : merge data from // computing (the reduce process)

Description

This function loads the results once finished and merges them together in one dataframe. For the moment this is a slow procedure and we are testing ways to accelerate the binding.

Usage

mapResults(folder = ".", pattern = "data_part", type = "rows", verbose = TRUE)

Arguments

folder

: the folder where the results are found

pattern

: the pattern of the split files in the disk preceding the incremental number, default="data_part"

type

: a string c(rows, cols, list) indicating how to merge the data. This should be the same as the one used in the splitData procedure.

verbose

: print running status information (default = TRUE).

Details

mapResults

Value

a merged dataframe : Caution ! The merged results may be shuffeled. It is up to the user to reorder the data accordingly.

Author(s)

Edi Prifti


eprifti/momr documentation built on Dec. 11, 2024, 3:06 p.m.