saveFileForPPR: Save file for pre-processing report.

View source: R/saveFileForPPR.R

saveFileForPPRR Documentation

Save file for pre-processing report.

Description

Save file for pre-processing report.

Usage

saveFileForPPR(data = NA, file = NA, type = NA, sleep = 10,
  times = 10)

Arguments

data

Data to save.

file

File name.

type

FIle type: can be either "csv" or "rds" and the data will be saved as a csv or rds file, respectively. If this parameter is missing, the file type will be read from the extension of the 'file' parameter (and will be used only if it is "csv" or "rds").

sleep

Amount of time to sleep between each one of the 'times' attempted saves.

times

How many times try to save the file.

Value

Nothing: used for side effect (save file).


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.