stackDataFilesParallel: Join data files in a unzipped NEON data package by table type

View source: R/stackDataFilesParallel.R

stackDataFilesParallelR Documentation

Join data files in a unzipped NEON data package by table type

Description

Given a folder of unzipped files (unzipped NEON data file), do a full join of all data files, grouped by table type. This should result in a small number of large files.

Usage

stackDataFilesParallel(folder, nCores = 1, dpID)

Arguments

folder

The location of the data

nCores

The number of cores to parallelize the stacking procedure. To automatically use the maximum number of cores on your machine we suggest setting 'nCores=parallel::detectCores()'. By default it is set to a single core. If the files are less than 25000 bytes the userdefined nCores will be overridden to a single core.

dpID

The data product identifier

Value

One file for each table type is created and written.

Author(s)

Christine Laney claney@battelleecology.org

References

License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007


neonUtilities documentation built on May 29, 2024, 9:24 a.m.