R/writeHarvMasterFile.R

Defines functions writeHarvMasterFile

Documented in writeHarvMasterFile

#' writeHarvMasterFile function
#'
#' function to (do something)
#'
#' @param block [value]. object of class 'fieldBlock'
#' @param dir [value]. Default is ""
#' @param ... additional arguments passed to write.csv()
#' @return [value]
#' @details [fill in details here]
#' @examples # none
#' @export


writeHarvMasterFile <- function(block, dir, ...){
	harvM <- makeHarvMasterFile(block, ...)
	write.csv(harvM, file = paste0(dir, "HarvMaster_", block@blockName, ".csv"), row.names = FALSE, quote = FALSE)
}
nsantantonio/fieldMapR documentation built on Feb. 4, 2025, 3:07 a.m.